Comment 0 for bug 1659719

Revision history for this message
Leo Arias (elopio) wrote :

ssh can't call a binary from a snap, it will only work using the full path.

Let's say I have the hello snap installed in 192.168.122.24. Then:

elopio@ubuntu-xenial:~/mosh$ ssh 192.168.122.24 hello
elopio@192.168.122.24's password:
bash: hello: command not found
elopio@ubuntu-xenial:~/mosh$ ssh 192.168.122.24 /snap/bin/hello
elopio@192.168.122.24's password:
Hello, world!