Outgoing ssh connections don't work on airplane WiFi

by Elliott B   Last Updated October 20, 2019 04:01 AM

I'm not able to connect to my SSH server from Jetblue in-flight WiFi. Could their router somehow be blocking this? I am not trying to circumvent any security policy, just trying to understand if this is an unintended technical limitation. This happens on every airplane, but it works from all other computers including Megabus and tethered over a cell phone. The internet connection is fast enough; I'm able to use Teamviewer and even stream music.

It hangs for about a minute or two after the last line before "connection reset".

$ ssh -vvv -p 4321 -i ~/.ssh/id_ecdsa.pub [email protected]
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/elliott/.ssh/config
debug1: /Users/elliott/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: /etc/ssh/ssh_config line 52: Applying options for *
debug2: resolve_canonicalize: hostname xxx.xxx.xxx.xxx is address
debug2: ssh_connect_direct
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 4321.
debug1: Connection established.
debug1: identity file /Users/elliott/.ssh/id_ecdsa.pub type 2
debug1: identity file /Users/elliott/.ssh/id_ecdsa.pub-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to xxx.xxx.xxx.xxx:4321 as 'alt'
debug3: put_host_port: [xxx.xxx.xxx.xxx]:4321
debug3: hostkeys_foreach: reading file "/Users/elliott/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /Users/elliott/.ssh/known_hosts:63
debug3: load_hostkeys: loaded 1 keys from [xxx.xxx.xxx.xxx]:4321
debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
Connection reset by xxx.xxx.xxx.xxx port 4321
Tags : macos ssh


Related Questions


Updated November 30, 2017 18:01 PM

Updated November 05, 2018 16:01 PM

Updated June 28, 2018 17:01 PM

Updated June 11, 2019 18:01 PM