小编Ell*_*e H的帖子

SSH 不接受公钥

在两台机器之间设置 ssh 密钥时,身份验证只能以一种方式工作。尝试连接时,一台服务器不接受另一台服务器的公钥。有任何想法吗?这是详细的输出。

debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to xxxxxx.com [xx.xx.xx.xx] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5
debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received …
Run Code Online (Sandbox Code Playgroud)

ssh authentication public-key

4
推荐指数
4
解决办法
4万
查看次数

标签 统计

authentication ×1

public-key ×1

ssh ×1