I have two users: filetransfer and filetransfer2
both have chroot folders setup under their home directories. in rssh.conf I have the following 2 lines configured: user="filetransfer2:022:00011:/home/filetransfer2" user="filetransfer:022:00011:/home/filetransfer" When I log on as filetransfer2 I see: Apr 11 13:31:55 linuxserver rssh[1317]: line 25: configuring user filetransfer2 Apr 11 13:31:55 linuxserver rssh[1317]: setting filetransfer2's umask to 022 Apr 11 13:31:55 linuxserver rssh[1317]: allowing scp to user filetransfer2 Apr 11 13:31:55 linuxserver rssh[1317]: allowing sftp to user filetransfer2 Apr 11 13:31:55 linuxserver rssh[1317]: chrooting filetransfer2 to /home/filetransfer2 Apr 11 13:31:55 linuxserver rssh[1317]: chroot cmd line: /usr/libexec/rssh_chroot_helper 2 "/usr/libexec/openssh/sftp-server" and the user works fine When I log in to filetransfer I see: Apr 11 13:26:35 linuxserver rssh[1127]: setting log facility to LOG_USER Apr 11 13:26:35 linuxserver rssh[1127]: allowing scp to all users Apr 11 13:26:35 linuxserver rssh[1127]: allowing sftp to all users Apr 11 13:26:35 linuxserver rssh[1127]: setting umask to 022 so chrooting config doesn't work right but it detected that the user logged in. if add the line: chrootpath = /home/filetransfer then I see this is the log file Apr 11 13:28:37 linuxserver rssh[1187]: setting log facility to LOG_USER Apr 11 13:28:37 linuxserver rssh[1187]: allowing scp to all users Apr 11 13:28:37 linuxserver rssh[1187]: allowing sftp to all users Apr 11 13:28:37 linuxserver rssh[1187]: setting umask to 022 Apr 11 13:28:37 linuxserver rssh[1187]: chrooting all users to /home/filetransfer Apr 11 13:28:37 linuxserver rssh[1187]: chroot cmd line: /usr/libexec/rssh_chroot_helper 2 "/usr/libexec/openssh/sftp-server" and user filetransfer logs in perfectly and works - so why would rssh not detect the correct username when it is configured in a user by user basis? thanks Evan ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ rssh-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rssh-discuss
