OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /Users/xiangchen2011/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 53: Applying options for *
debug1: Connecting to 192.168.102.134 [192.168.102.134] port 22.
debug1: Connection established.
debug1: identity file /Users/xiangchen2011/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: Connection closed by remote host
额,我又来了,过了一段时间就不行了
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /Users/xiangchen2011/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.102.134 [192.168.102.134] port 22.
debug1: Connection established.
debug1: identity file /Users/xiangchen2011/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/xiangchen2011/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: Connection closed by remote host
1
mnssbe 2020-07-19 11:32:05 +08:00
日志显示证书认证失败, 证书不存在
|
2
xiangchen2011 OP @mnssbe #1 我并没有配置使用证书认证这个地址啊?新建的虚拟机,home 目录 ssh 的 config 文件里面也没有`*通配符。
检查`/etc/ssh/ssh_config`有下面的配置: ``` # XAuthLocation added by XQuartz ( http://www.xquartz.org) Host * XAuthLocation /opt/X11/bin/xauth ``` 注释后,问题解决,感谢 |
3
xiangchen2011 OP Final Shell 却可以正常登陆。。。。迷
|
4
shunconf 2020-07-20 02:09:49 +08:00 via Android
已经弃坑 FinalShell,我的问题和楼主反过来的
|