debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1:
如果登录不上,还是需要密码,通过 ssh -vvv test@xxx 报如下错误 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug2: we did not send a packet, disable method 这就表示密钥认证失败,有如下原因 目录权限 .ssh 目录权限 700 .ssh/authorized_keys 文件权限是 ...
debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug3: send packet: type 20 debug1: SSH2_MSG_...
debug3: receive packet: type 31 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:mJFHWfbcI5XuE+aa0p7nqt6BUsMzm+AHKradDb0D0gk debug3: hostkeys_foreach: reading file "/c/Users/Administrator/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file /c/Users/Administr...
debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to hadoop-master:22 as 'root' debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file /root/.ssh/known_hosts:1 ...
wait for reply debug3: receive packet: type 51 ...然后在server端sshd_config里开启debug的模式...
debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: diffie-hellman-group-exchange-sha256,ext-info-c debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp25...
debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey debug3: start over, passed a different list publickey ...
debug3: receive packet: type 51 ... ... debug2: we did not send a packet, disable method debug1: No more authentication methods to try. user1@192.168.0.1: Permission denied (publickey,gssapi-with-mic,password) According to SSH protocol (RFC 4252), these are the general authentication...
debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-ni...