我的服务器最近停止向我提供基于公钥的身份验证。我尝试使用 RSA 公钥登录,但只得到:
\n$ ssh -v <server>\nOpenSSH_8.9p1 Ubuntu-3ubuntu0.1, OpenSSL 3.0.2 15 Mar 2022\ndebug1: Reading configuration data /home/user/.ssh/config\ndebug1: /home/user/.ssh/config line 33: Applying options for <server>\ndebug1: Reading configuration data /etc/ssh/ssh_config\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\ndebug1: Connecting to <server> [<ip>] port 22.\ndebug1: Connection established.\ndebug1: identity file /home/user/.ssh/id_rsa type 0\ndebug1: identity file /home/user/.ssh/id_rsa-cert type -1\ndebug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Debian-5+deb8u1\ndebug1: compat_banner: match: OpenSSH_6.7p1 Debian-5+deb8u1 …
Run Code Online (Sandbox Code Playgroud)