{"action":"closed","issue":{"url":"https://api.github.com/repos/netblue30/firejail/issues/339","repository_url":"https://api.github.com/repos/netblue30/firejail","labels_url":"https://api.github.com/repos/netblue30/firejail/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/netblue30/firejail/issues/339/comments","events_url":"https://api.github.com/repos/netblue30/firejail/issues/339/events","html_url":"https://github.com/netblue30/firejail/issues/339","id":137218450,"number":339,"title":"scp / sftp does not work while firejail as a shell ","user":{"login":"bobykus","id":12424602,"avatar_url":"https://avatars.githubusercontent.com/u/12424602?v=3","gravatar_id":"","url":"https://api.github.com/users/bobykus","html_url":"https://github.com/bobykus","followers_url":"https://api.github.com/users/bobykus/followers","following_url":"https://api.github.com/users/bobykus/following{/other_user}","gists_url":"https://api.github.com/users/bobykus/gists{/gist_id}","starred_url":"https://api.github.com/users/bobykus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobykus/subscriptions","organizations_url":"https://api.github.com/users/bobykus/orgs","repos_url":"https://api.github.com/users/bobykus/repos","events_url":"https://api.github.com/users/bobykus/events{/privacy}","received_events_url":"https://api.github.com/users/bobykus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netblue30/firejail/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-29T10:53:58Z","updated_at":"2016-03-10T16:56:34Z","closed_at":"2016-03-10T16:56:34Z","body":"ssh works well\r\n\r\nmy@my:~/$ ssh    ssltest2@some\r\nLast login: Mon Feb 29 11:47:32 2016 from from_host\r\n\r\n46:bash:open /dev/tty:3\r\n46:bash:open /etc/bash.bashrc:-1\r\n46:bash:open /hsphere/local/home/ssltest2/.bashrc:3\r\n46:bash:open /dev/tty:3\r\n46:bash:fopen /etc/passwd:0x1891008\r\n46:bash:open /etc/bash.bashrc:-1\r\n46:bash:open /hsphere/local/home/ssltest2/.bashrc:3\r\n46:bash:open /hsphere/local/home/ssltest2/.bash_history:-1\r\n46:bash:open /hsphere/local/home/ssltest2/.bash_history:-1\r\n46:bash:access /lib/terminfo/x/xterm-256color:0\r\n46:bash:fopen /lib/terminfo/x/xterm-256color:0x1899808\r\n\r\n\r\nUnfortunately neither scp or sftp works. F.ex. for scp\r\n\r\nmy@my:~/$ scp  -P 8080 os.sh   ssltest2@some:ssltest2.dk \r\nError: cannot find the program in the path\r\nlost connection\r\n\r\n/etc/firejail/login.users looks like\r\n\r\nssltest2:--private-bin=bash,sed,ls,cat,less,scp,wget,top,ps,sftp,slogin,nano,cp,mv,rm --private-dev --private-etc=group,hostname,localtime,nsswitch.conf,passwd,resolv.conf --private-tmp --nosound --noroot  --seccomp   --quiet  --trace\r\n\r\n\r\nDid I miss something  in configuration or is it by design?\r\n\r\n"}}