Guest User

Untitled

a guest
Dec 16th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. There is a directory where our code resides: /home/dev
  2. The permissions on this directory (and all sub-directories) are currently 755 kosta:kosta
  3. The permissions on files contained inside are 644 kosta:kosta
  4.  
  5. Now I want to be able to create a SFTP connection into the server, which opens a "jailed" (chroot) sftp session in /home/dev
  6. From here I want to be able to create / read / update / delete files and directories inside this directory (all via my ftp client, Filezilla).
  7. This Filezilla sftp session must not allow anything else outside of this directory to be read.
Add Comment
Please, Sign In to add comment