My system is SUSE10.0 with openssh already installed. Today I downloaded rssh-2.3.2 source and installed it. Then I followed instructions on http://www.gentoo-wiki.com/index.php?title=HOWTO_SFTP_Server_(chrooted%2C_without_shell)&redirect=no
I setup an sftp only account public with directory /home/public/. As I tested it using ssh, it showed correct information:
This account is restricted by rssh.
Allowed commands: sftp
If you believe this is in error, please contact your system administrator.
Connection to x.x.x.x closed.
But as I connected using sftp, it just exit immediately after I correctly typed the password:
Connecting to x.x.x.x...
Password:
Connection closed
I had a look at system log file but it did not show anything unusual:
Jun 8 15:04:29 linux sshd[5341]: Accepted keyboard-interactive/pam for wcai_public from x.x.x.x port 32892 ssh2
Jun 8 15:04:29 linux sshd[5345]: subsystem request for sftp
Jun 8 15:04:29 linux rssh[5346]: setting log facility to LOG_USER
Jun 8 15:04:29 linux rssh[5346]: allowing sftp to all users
Jun 8 15:04:29 linux rssh[5346]: setting umask to 022
Jun 8 15:04:29 linux rssh[5346]: chrooting all users to /home/public
Jun 8 15:04:29 linux rssh[5346]: chroot cmd line: /usr/local/libexec/rssh_chroot_helper 2 "/usr/lib/ssh/sftp-server"
What's wrong with my configuration? Can anybody help me? Thanks a lot. mike
_______________________________________________ rssh-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rssh-discuss
