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

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

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

vasilisc@vb:/home/vasilisc$ ssh vasilisc@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

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to