Authentication ssh未显示提示,身份验证失败

Authentication ssh未显示提示,身份验证失败,authentication,ssh,login,prompt,Authentication,Ssh,Login,Prompt,我有一个运行Debian 7的VPS,我使用它通过ssh访问长达4年 现在,当我尝试连接到它时,突然没有显示密码提示,尽管与远程sshd的连接已打开。几秒钟后,我收到消息“身份验证失败”,因此我无法登录并获得shell提示 以前有人见过这个问题吗?有人对我如何回避这个问题有任何暗示吗 提前感谢, 安杰科 编辑:我包括了ssh-vvv的完整输出,以便让您更清楚地看到任何可能未引起我注意和/或我不太了解的细节: OpenSSH_7.4p1 Debian-10+deb9u3,OpenSSL 1.0.

我有一个运行Debian 7的VPS,我使用它通过ssh访问长达4年

现在,当我尝试连接到它时,突然没有显示密码提示,尽管与远程sshd的连接已打开。几秒钟后,我收到消息“身份验证失败”,因此我无法登录并获得shell提示

以前有人见过这个问题吗?有人对我如何回避这个问题有任何暗示吗

提前感谢,

安杰科

编辑:我包括了
ssh-vvv
的完整输出,以便让您更清楚地看到任何可能未引起我注意和/或我不太了解的细节:


OpenSSH_7.4p1 Debian-10+deb9u3,OpenSSL 1.0.2l 2017年5月25日
debug1:正在读取配置数据/home/xyz/.ssh/config
debug1:/home/xyz/.ssh/config第1行:应用xyz.net的选项
debug3:kex名称确定:[diffie-hellman-group1-sha1]
debug1:读取配置数据/etc/ssh/ssh\u config
debug1:/etc/ssh/ssh\u配置第19行:应用*
debug2:解析“xyz.net”端口22
debug2:ssh\u connect\u direct:needpriv 0
debug1:连接到xyz.net[12.34.56.78]端口22。
debug1:已建立连接。
debug1:key\u load\u public:没有这样的文件或目录
debug1:标识文件/dev/null类型-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:标识文件/dev/null证书类型-1
debug1:启用协议2.0的兼容模式
debug1:本地版本字符串SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u3
debug1:远程协议版本2.0,远程软件版本OpenSSH_6.0p1 Debian-4+deb7u4
debug1:匹配:OpenSSH_6.0p1 Debian-4+deb7u4 pat OpenSSH*compat 0x04000000
调试2:fd 3设置O_非块
debug1:以“xyz”身份验证到xyz.net:22
debug3:put_主机_端口:[xyz.net]:22
debug3:hostkeys\u foreach:读取文件“/home/xyz/.ssh/known\u hosts”
debug3:record_hostkey:在文件/home/xyz/.ssh/known_hosts:1中找到密钥类型RSA
debug3:load_hostkeys:从[xyz.net]:22加载了1个密钥
debug3:order\u hostkeyalgs:preference hostkeyalgs:ssh rsa证书-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh rsa
debug3:发送数据包:类型20
debug1:SSH2\u MSG\u KEXINIT已发送
debug3:接收数据包:类型20
debug1:SSH2\u MSG\u KEXINIT已收到
调试2:本地客户科欣IT提案
debug2:KEX算法:curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-c
debug2:主机密钥算法:ssh rsa证书-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519
debug2:密码ctos:chacha20-poly1305@openssh.com,aes128中心,aes192中心,aes256中心,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128 cbc,aes192 cbc,aes256 cbc
debug2:密码stoc:chacha20-poly1305@openssh.com,aes128中心,aes192中心,aes256中心,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128 cbc,aes192 cbc,aes256 cbc
调试2:MACs CTO:umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
调试2:MACs stoc:umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
调试2:压缩CTO:无,zlib@openssh.com,zlib
调试2:压缩stoc:无,zlib@openssh.com,zlib
调试2:语言CTO:
调试2:语言stoc:
debug2:第一个_kex_跟随0
debug2:保留0
debug2:对等服务器KEXINIT提案
debug2:KEX算法:ecdh-sha2-nistp256、ecdh-sha2-nistp384、ecdh-sha2-nistp521、diffie-hellman-group-exchange-sha256、diffie-hellman-group-exchange-sha1、diffie-hellman-group14-sha1、diffie-hellman-group1-sha1
debug2:主机密钥算法:ssh-rsa、ssh-dss
debug2:密码CTO:aes128 ctr、aes192 ctr、aes256 ctr、arcfour256、arcfour128、aes128 cbc、3des cbc、河豚cbc、cast128 cbc、aes192 cbc、aes256 cbc、arcfour、rijndael-cbc@lysator.liu.se
debug2:密码stoc:aes128 ctr、aes192 ctr、aes256 ctr、arcfour256、arcfour128、aes128 cbc、3des cbc、河豚cbc、cast128 cbc、aes192 cbc、aes256 cbc、arcfour、rijndael-cbc@lysator.liu.se
调试2:MACs CTO:hmac-md5、hmac-sha1、umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
调试2:MACs stoc:hmac-md5、hmac-sha1、umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
调试2:压缩CTO:无,zlib@openssh.com
调试2:压缩stoc:无,zlib@openssh.com
调试2:语言CTO:
调试2:语言stoc:
debug2:第一个_kex_跟随0
debug2:保留0
debug1:kex:算法:ecdh-sha2-nistp256
debug1:kex:主机密钥算法:ssh-rsa
debug1:kex:server->client cipher:aes128 ctr MAC:umac-64@openssh.com压缩:无
debug1:kex:client->server cipher:aes128 ctr MAC:umac-64@openssh.com压缩:无
debug3:发送数据包:类型30
debug1:发送SSH2\u MSG\u KEX\u ECDH\u INIT
debug1:需要SSH2\u MSG\u KEX\u ECDH\u回复
debug3:接收数据包:类型31
debug1:服务器主机密钥:ssh rsa SHA256:abcdefghugklmnop+qrstuvxyzabcdefghi+jklmnop
debug3:put_主机_端口:[12.34.56.78]:22
debug3:put_主机_端口:[xyz.net]:22
debug3:hostkeys\u foreach:读取文件“/home/xyz/.ssh/known\u hosts”
debug3:record_hostkey:在文件/home/xyz/.ssh/known_hosts:1中找到密钥类型RSA
debug3:load_hostkeys:从[xyz.net]:22加载了1个密钥
第三名:何
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no example.com