重启后ssh-host-config重置,shh -vvv localhost / ipaddress无法正常工作

时间:2016-03-01 15:45:49

标签: cygwin

我在cygwin中配置了ssh-host-config cygcheck(cygwin)2.4.1 ..

当我在Windows 7上设置ssh-host-config时,ssh登录对我的系统起作用。更新系统ssh登录不起作用,localhost检查失败,并显示以下日志。

如果您已解决此问题,请提供帮助。

ssh -v localhost OpenSSH_7.1p2,OpenSSL 1.0.2f 2016年1月28日 debug1:读取配置数据/ etc / ssh_config debug1:连接到localhost [127.0.0.1]端口22。 debug1:已建立连接。 debug1:身份文件/home/psing/.ssh/id_rsa类型1 debug1:key_load_public:没有这样的文件或目录 debug1:身份文件/home/psing/.ssh/id_rsa-cert类型-1 debug1:身份文件/home/psing/.ssh/id_dsa类型2 debug1:key_load_public:没有这样的文件或目录 debug1:标识文件/home/psing/.ssh/id_dsa-cert类型-1 debug1:身份文件/home/psing/.ssh/id_ecdsa类型3 debug1:key_load_public:没有这样的文件或目录 debug1:身份文件/home/psing/.ssh/id_ecdsa-cert类型-1 debug1:key_load_public:没有这样的文件或目录 debug1:标识文件/home/psing/.ssh/id_ed25519类型-1 debug1:key_load_public:没有这样的文件或目录 debug1:identity file /home/psing/.ssh/id_ed25519-cert type -1 debug1:为协议2.0启用兼容模式 debug1:本地版本字符串SSH-2.0-OpenSSH_7.1 debug1:远程协议版本2.0,远程软件版本OpenSSH_7.1 debug1:match:OpenSSH_7.1 pat OpenSSH * compat 0x04000000 debug1:对localhost进行身份验证:22为'psing' debug1:发送SSH2_MSG_KEXINIT debug1:收到SSH2_MSG_KEXINIT debug1:kex:server-> client chacha20-poly1305@openssh.com none debug1:kex:client-> server chacha20-poly1305@openssh.com none debug1:期待SSH2_MSG_KEX_ECDH_REPLY debug1:服务器主机密钥:ecdsa-sha2-nistp256 SHA256:Khz11YkVERoV1mlVERovPEm / x / AeLaUJveN49ig + Ag0 debug1:主机'localhost'已知并与ECDSA主机密钥匹配。 debug1:找到/home/psing/.ssh/known_hosts:4中的密钥 debug1:发送SSH2_MSG_NEWKEYS debug1:期待SSH2_MSG_NEWKEYS debug1:收到SSH2_MSG_NEWKEYS debug1:发送SSH2_MSG_SERVICE_REQUEST debug1:收到SSH2_MSG_SERVICE_ACCEPT debug1:可以继续的身份验证:publickey,password,keyboard-interactive debug1:下一个身份验证方法:publickey debug1:提供RSA公钥:/home/psing/.ssh/id_rsa debug1:可以继续的身份验证:publickey,password,keyboard-interactive debug1:在PubkeyAcceptedKeyTypes中跳过ssh-dss键/home/psing/.ssh/id_dsa debug1:提供ECDSA公钥:/home/psing/.ssh/id_ecdsa debug1:可以继续的身份验证:publickey,password,keyboard-interactive debug1:尝试私钥:/home/psing/.ssh/id_ed25519 debug1:下一个身份验证方法:键盘交互式 debug1:可以继续的身份验证:publickey,password,keyboard-interactive debug1:下一个身份验证方法:密码 psing @ localhost的密码:

1 个答案:

答案 0 :(得分:0)

用户名区分大小写

.shh目录中创建的用户名区分大小写。

因此,当登录SSH主机系统时,请注意在SSH目录中创建的用户名。

相关问题