Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Centos 5.2 and when I try to make a chroot jail using the script, I get:

Copying libraries for /usr/bin/scp. (0x00007fff17bfe000) cp: cannot stat `(0x00007fff17bfe000)': No such file or directory ...

I am currently using on a rackspace cloud server so i suspect that these dependencies are outside of my own root.

Does anyone have a better idea for jailing the sftp server on a cloud server using Centos 5.2?

share|improve this question
add comment

migrated from stackoverflow.com Jan 8 '10 at 14:25

This question came from our site for professional and enthusiast programmers.

2 Answers

Does anyone have a better idea for jailing the sftp server on a cloud server using Centos 5.2?

Update to OpenSSH 4.9 or higher and use the builtin chroot-capabilities for the internal SFTP server. There are no official packages for CentOS, though, so you'd have to build it yourself or install it from a third-party repository.

See e. g. OpenSSH SFTP chroot() with ChrootDirectory.

share|improve this answer
add comment

Does anyone have a better idea for jailing the sftp server on a cloud server using Centos 5.2?

Hi, yes use MySecureShell : http://mysecureshell.sourceforge.net

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.