我在使用 SSH 时遇到问题。我无法连接到任何东西;每个连接在 SSH2_MSG_SERVICE_ACCEPT RECEIVED 处无限期挂起。我在 OSX 10.6.8 上。
我想是我的 SSH 配置有问题,但我想不通。我在 /usr/bin/ 中安装了 os x 附带的原始 openssh,在 /usr/local/bin/ 中安装了 brewed 安装。我正在使用自制软件 - 这里可能发生了一些冲突吗?
关于解决方案的任何想法或可能导致这种情况的原因?这是我的 ssh_config:
Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
Port …Run Code Online (Sandbox Code Playgroud)