Can’t connect to Raspberry Pi via MacOS laptop. Works via other devices including Linux and iOS.
This is the macOS terminal command and output:
ssh -vvvvvv -p 9091 [email protected]
OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021
debug1: Reading configuration data /usr/local/etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 192.168.1.103 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/discord/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/discord/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 192.168.1.103 [192.168.1.103] port 9091.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address 192.168.1.103 port 9091: Bad file descriptor
ssh: connect to host 192.168.1.103 port 9091: Bad file descriptor
From the pi I see
error: kex_exchange_identification: Connection closed by remote host
Connection closed by 192.168.1.107: port 63461