Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I used jailkit to add users and restrict them to a jail directory. It works for Linux and PC clients connecting to the ssh server but when I connect with iPad it gives them access to everything.

I am using my iPad to connect to the SSH server on my linux PC using an SFTP app. I'm logging in with a username. When I log in using the username from a PC it works, restricting me to the jail root folder. But from my iPad it lets me access the entire file system.

I used this tutorial:

http://syiron.wordpress.com/2011/06/25/simple-jailkit-howto/

share|improve this question
1  
Are you using iPad as your ssh client or trying to get jailkit working on iPad? –  number5 Aug 12 '13 at 1:01
    
I am using my iPad to connect to the SSH server on my linux PC using an SFTP app. Logging in with a username. When I logon using the username from a PC it works, restricting me to the jail root folder. But on iPad it lets me access the entire file system. –  Marcus Lorenzana Aug 12 '13 at 4:02
    
Are you sure you're logging in to the same account? Post your sshd_config, the user's passwd entry and the user's ~/.ssh/authorized_keys. –  Gilles Aug 12 '13 at 22:35
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.