相关疑难解决方法(0)

为什么我不能以 root 身份 ssh?

我是同一防火墙下的两台服务器 A 和 B。我可以使用 root 帐户从服务器 A 登录到 B,但无法从 B 登录到 A。我的 ssh 密钥已正确配置,但我无法弄清楚我们出了什么问题。

这是我尝试从服务器 B 连接到 A 时的详细信息。

root@web04:~# ssh -v -i.ssh/id_rsa root@11.11.11.4
OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012
Warning: Identity file .ssh/id_rsa not accessible: No such file or directory.
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 11.11.11.4 [11.11.11.4] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1 …
Run Code Online (Sandbox Code Playgroud)

ubuntu ssh root

-2
推荐指数
1
解决办法
1199
查看次数

标签 统计

root ×1

ssh ×1

ubuntu ×1