sftp server

Jay Berryman jay.berryman at sitel.com
Thu Nov 11 16:42:21 UTC 2004


Hello everyone.  I am trying to build an sftp server and chroot the users to
their home directories.  I have already installed patched versions of
openssh, openssh-server, and openssh-client.  I then edit the /etc/passwd
file and modify the user's home directory path as such:

 

User:x:500:500::/home/user/./:/bin/bash

 

Once I try to sftp into the server I receive the following error message:  

 

Request for subsystem 'sftp' failed on channel 0

Couldn't read packet: Connection reset by peer

 

Any help as to what I am doing wrong would be greatly appreciated.  Thanks.

 

Jay Berryman, RHCT

 

 




More information about the redhat-list mailing list