mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.59k stars 729 forks source link

non-ssh auth, VPN maybe #1275

Closed cypa closed 1 year ago

cypa commented 1 year ago

"Mosh leverages SSH to set up the connection and authenticate" is it possible to leverage wireguard VPN, or ipsec, to set up the connection and authenticate mosh? anything else?

achernya commented 1 year ago

It is not. Mosh requires being able to run processes on the destination machine, which VPN technologies do not allow.

eminence commented 1 year ago

Note that you can always roll your own connection set-up if you want. See the "How do I run the mosh client and server separately?" FAQ question on mosh.org

cypa commented 1 year ago

It is not. Mosh requires being able to run processes on the destination machine, which VPN technologies do not allow.

is it a problem? could we start mosh-server on destination to listen for connection?

achernya commented 1 year ago

It is a problem, because mosh-server serves a single user and requires sharing the key it outputs.