简体   繁体   English

不能 SSH 通过 mac OS 进入 Raspberry Pi。 连接到地址 XXXX 端口 9091:错误的文件描述符

[英]Can't SSH into Raspberry Pi via mac OS. connect to address X.X.X.X port 9091: Bad file descriptor

Can't connect to raspberry pi via MacOS laptop.无法通过 MacOS 笔记本电脑连接到树莓派。 Works via other devices including linux and iOS.通过其他设备工作,包括 linux 和 iOS。 This is the macOS terminal command and output这是 macOS 终端命令和 output

ssh -vvvvvv -p 9091 pi@192.168.1.103
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从我看到的 pi

error: kex_exchange_identification: Connection closed by remote host
Connection closed by 192.168.1.107: port 63461 

Try to put this in $HOME/.ssh/config@MACOS:尝试将其放入 $HOME/.ssh/config@MACOS:

IPQoS=throughput

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM