snap and ssh

Vasilisc vasilisc777 at gmail.com
Wed Nov 23 13:14:37 UTC 2016


Please give me advice. I want use openssh-client in snap package.
But ssh try read system path

vasilisc at vb:/home/vasilisc$ echo $HOME
/home/vasilisc/snap/pac/x1

vasilisc at vb:/home/vasilisc$ echo $SNAP_USER_DATA
/home/vasilisc/snap/pac/x1

vasilisc at vb:/home/vasilisc$ ssh vasilisc at 192.168.3.6
The authenticity of host '192.168.3.6 (192.168.3.6)' can't be established.
ECDSA key fingerprint is SHA256:hfV+C1ZOuysKlslXmj1bBKr6OaDKphmMN8KCbwcDlug.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts 
(/home/vasilisc/.ssh/known_hosts).
Load key "/home/vasilisc/.ssh/id_rsa": Permission denied

How to make the ssh-client use the correct path?

-- 
Best regards,
vasilisc




More information about the Snapcraft mailing list