突然无法使用 sftp - 连接被对方​​重置

突然无法使用 sftp - 连接被对方​​重置

从 ubuntu 客户端,我突然无法 sftp,这是详细输出:

    sftp -vvv [email protected]
    OpenSSH_7.2p2 Ubuntu-4ubuntu2.10, OpenSSL 1.0.2g  1 Mar 2016
    debug2: resolving "test.com" port 22
    debug2: ssh_connect_direct: needpriv 0
    debug1: Connecting to test.com [159.83.131.165] port 22.
    debug1: Connection established.
    debug1: identity file /home/deploy/.ssh/id_rsa type 1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_rsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_dsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_dsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_ecdsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_ecdsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_ed25519 type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/deploy/.ssh/id_ed25519-cert type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.10
    ssh_exchange_identification: Connection closed by remote host
    Couldn't read packet: Connection reset by peer

我尝试过更新 hosts.allow 并更改超时时间,如其他帖子中所述,但似乎没有任何效果。以前这种方法效果很好。输出是否表明服务器停止接受当前可用的本地证书,我需要生成新的证书?如果是,有人能帮忙吗?如果没有,还有其他想法吗?

谢谢你的帮助,凯文

相关内容