I got rssh working just fine as long as I don't try to do chroot'ing. I have RH Enterprise 3. I ran mkchroot.sh which seemed to execute just fine.
I cannot get a completed sFTP connection and the last few lines in /var/log/messages are: Nov 17 14:22:02 sunfire sshd[21144]: Accepted password for testjoe from 192.168.2.8 port 3257 ssh2 Nov 17 14:22:02 sunfire sshd[21146]: subsystem request for sftp Nov 17 14:22:02 sunfire rssh[21147]: setting log facility to LOG_USER Nov 17 14:22:02 sunfire rssh[21147]: allowing sftp to all users Nov 17 14:22:02 sunfire rssh[21147]: setting umask to 022 Nov 17 14:22:02 sunfire rssh[21147]: chrooting all users to /home/jail Nov 17 14:22:02 sunfire rssh[21147]: chroot cmd line: /usr/local/libexec/rssh_chroot_helper 2 "/usr/libexec/openssh/sftp-server" the home directory for my user "testjoe" is set to "/home/jail". Eventually I want it to be like /home/jail/testjoe. rssh.conf is: logfacility = LOG_USER allowsftp umask = 022 chrootpath = /home/jail If I make chrootpath = / Then it works but i'm not really jailed, of course. The debug output from my client is: Trace: FzSFtp.exe: Ssh.c(7064): Sent password Trace: FzSFtp.exe: Ssh.c(6483): Access granted Trace: FzSFtp.exe: Ssh.c(7161): Opened channel for session Trace: FzSFtp.exe: Ssh.c(7416): Started a shell/command Trace: FzSFtp.exe: Ssh.c(788): Server sent command exit status 1 Trace: FzSFtp.exe: Ssh.c(5909): All channels closed. Disconnecting Trace: FzSFtp.exe: Ssh.c(2535): Server closed network connection Response: Fatal: unable to initialise SFTP: could not connect I don't see any error message in /var/log/messages. Is there a way to turn up debugging so I can get a hint as to which question to ask? Does someone have a list of files needed for the chroot jail, libraries and such, that I need to copy? Thanks in advance, -- James Neff Technology Specialist Tethys Health Ventures 4 North Park Drive, Suite 203 Hunt Valley, MD 21030 office: 410.771.0692 x103 cell: 443.865.7874 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ rssh-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rssh-discuss
