I am running rssh-2.3.2on CentOS 4.2.

I created a user account and run mkchroot.sh on its home folder.

When I tried to login via sftp, I kept on getting this “connection closed” message and did the fix that was suggested on the FAQ to copy all the files in /lib over to the chrooted directory.

After carefully examining the files on /lib I found that mkchroot.sh wasn’t able to copy /lib/ld-linux.so.2 (probably because it didn’t show up on ldd). To test this setup, I created another user, ran mkchroot.sh against its home folder and copied /lib/ld-linux.so.2 over to the jailed home folder. And it works! I Hope this helps.

 

Best Regards,

 

Raymond Nunez

 

-------------------------------------------------------------------------
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

Reply via email to