0

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/

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.