Leonard Gu wrote:
> Hi,
> 
> I got this famous "Connection closed" problem. I have followed the guide for
> manually configure a chroot shell and running out of my ideas so thought it
> worths publish it here

Which guide does you follow?

There are too many possibilities to cause "connection closed".

Some files you need to check: (Some of them may not be necessary, but they are
worth trying.)

1, /chroot/lib/ld-linux.so.2 or ld-linux-x86-64.so.2

2, /chroot/lib/libnss_compat.so.2

3, /chroot/dev/null

4 /chroot/lib64 and /chroot/usr/lib64, if you are using amd64

In the real root, /usr/lib/rssh/rssh_chroot_helper has to be setuid root.

run rssh -v, make sure the path it prints out is right. (Otherwise you need to
do some hard link.) Also make sure that the path "Subsystem sftp " you specified
in sshd_config is correct.

Hope this helps.

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to