{"action":"created","issue":{"url":"https://api.github.com/repos/PufferPanel/PufferPanel/issues/583","labels_url":"https://api.github.com/repos/PufferPanel/PufferPanel/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/PufferPanel/PufferPanel/issues/583/comments","events_url":"https://api.github.com/repos/PufferPanel/PufferPanel/issues/583/events","html_url":"https://github.com/PufferPanel/PufferPanel/issues/583","id":94337875,"number":583,"title":"sftp users can acces all files","user":{"login":"Luukth","id":8673158,"avatar_url":"https://avatars.githubusercontent.com/u/8673158?v=3","gravatar_id":"","url":"https://api.github.com/users/Luukth","html_url":"https://github.com/Luukth","followers_url":"https://api.github.com/users/Luukth/followers","following_url":"https://api.github.com/users/Luukth/following{/other_user}","gists_url":"https://api.github.com/users/Luukth/gists{/gist_id}","starred_url":"https://api.github.com/users/Luukth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luukth/subscriptions","organizations_url":"https://api.github.com/users/Luukth/orgs","repos_url":"https://api.github.com/users/Luukth/repos","events_url":"https://api.github.com/users/Luukth/events{/privacy}","received_events_url":"https://api.github.com/users/Luukth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T16:12:07Z","updated_at":"2015-07-10T19:51:48Z","closed_at":null,"body":"When a user logs in using sftp he can acces all the files on my vps. I think this is a bug."},"comment":{"url":"https://api.github.com/repos/PufferPanel/PufferPanel/issues/comments/120506269","html_url":"https://github.com/PufferPanel/PufferPanel/issues/583#issuecomment-120506269","issue_url":"https://api.github.com/repos/PufferPanel/PufferPanel/issues/583","id":120506269,"user":{"login":"Omeryl","id":6556439,"avatar_url":"https://avatars.githubusercontent.com/u/6556439?v=3","gravatar_id":"","url":"https://api.github.com/users/Omeryl","html_url":"https://github.com/Omeryl","followers_url":"https://api.github.com/users/Omeryl/followers","following_url":"https://api.github.com/users/Omeryl/following{/other_user}","gists_url":"https://api.github.com/users/Omeryl/gists{/gist_id}","starred_url":"https://api.github.com/users/Omeryl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omeryl/subscriptions","organizations_url":"https://api.github.com/users/Omeryl/orgs","repos_url":"https://api.github.com/users/Omeryl/repos","events_url":"https://api.github.com/users/Omeryl/events{/privacy}","received_events_url":"https://api.github.com/users/Omeryl/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T19:51:48Z","updated_at":"2015-07-10T19:51:48Z","body":"You didn't follow the instructions correctly. \r\n\r\nhttp://scales.pufferpanel.com/v0.1.3/docs\r\n\r\nQuote:\r\n\r\nThen we need to modify `Subsystem sftp` ... to be `Subsystem sftp internal-sftp`. After doing that scroll to the bottom and add the following lines.\r\n\r\n```\r\nMatch group scalesuser\r\n    ChrootDirectory %h\r\n    X11Forwarding no\r\n    AllowTcpForwarding no\r\n    ForceCommand internal-sftp\r\n```"}}