Derek, Very occasionally (in about 2% of the attempts) sftp works in the chrooted environment.
Could this be a clue as to what is going wrong in the typically failing attempts? Thank you. Timothy Mann -----Original Message----- From: MANN, TIMOTHY, ATTSI Sent: Thursday, August 20, 2009 11:54 AM To: 'Derek Martin' Subject: RE: Setting up chroot jail for sftp Derek, Thanks for your reply. That was my typing mistake. As you suspected, it says "Connection closed" Timothy Mann -----Original Message----- From: Derek Martin [mailto:[email protected]] Sent: Thursday, August 20, 2009 11:50 AM To: MANN, TIMOTHY, ATTSI Cc: [email protected] Subject: Re: Setting up chroot jail for sftp On Wed, Aug 19, 2009 at 04:40:40PM -0400, MANN, TIMOTHY, ATTSI wrote: > I have set up rssh to run rsync and sftp for specific users on solaris > 10. Both work without chroot. > > rsync works with a chroot jail I have created, but sftp just responds > with "Connection refused". At the same time the messages in the attached > file are logged: Are you sure it's "Connection refused" that you're getting? If rsync works, that doesn't make much sense. "Connection closed" seems more likely. In that case, see this: http://www.pizzashack.org/rssh/faq.shtml#6 -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ rssh-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rssh-discuss
