[scponly] Unable to launch sftp-server from chroot: request denied
John Barton
jbarton at technicalworks.net
Wed Nov 23 14:40:55 EST 2005
All,
I am trying to get scponly version 4.1 running on Solaris 8 sparc, and I
am having trouble that seems to be specific to sftp-server.
If I try to use WinSCP in "scp" mode, I can connect without any trouble,
and I am properly chrooted into my home directory.
If I try to use WinSCP in "sftp" mode, it fails with the following
error: "Connection has been unexpectedly closed. Server sent command
exit status 1". On the server side, in the messages log, it just says
"denied request: /opt/xxx/bin/sftp-server (resolved to sftp-server ..."
The path to sftp-server is correct, and that path also exists inside my
chroot directory.
If I try to sftp into the server using an account with a normal shell,
it logs in fine.
Any pointers on where the problem might be?
Regards,
-JB
More information about the scponly
mailing list