mobile-shell / mosh

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

Did not find remote IP address #1242

Closed cossio closed 1 year ago

cossio commented 1 year ago

On a freshly installed mosh (via brew install mosh, on a Macbook with M2 chip):

(base) ➜  ~ mosh my_server_name 
/opt/homebrew/bin/mosh: could not get canonical name for my_server_name: nodename nor servname provided, or not known
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
/opt/homebrew/bin/mosh: Did not find remote IP address (is SSH ProxyCommand disabled?).

ssh my_server_name works wonderfully.

What's wrong here?

eminence commented 1 year ago

Is my_server_name the actual name of your host, or is it an alias in .ssh/config? Is this host special in any way?

cossio commented 1 year ago

It's an alias in .ssh/config. Nothing special, as far as I can see. I can access it normally through ssh. There is a though ProxyJump command in ssh config for this server. Could this make a difference?

alanwilter commented 1 year ago

Could this make a difference?

Yes, see #970.

achernya commented 1 year ago

Duplicate of #970