小编Viv*_*ngh的帖子

如何修复权限被拒绝(公钥)错误?

在尝试在我的桌面 Ubuntu 12.10 和 Fedora 19 桌面之间进行通信时,我遇到了Permission Denied (Public key)错误。
我可以通过 ssh 从 Fedora 登录到 Ubuntu,但反之则不行。
我什至通过端口 22 在两台机器上执行 telnet 并且两台机器都在监听,但不是通过 ssh。该怎么办?任何的想法?

我的sshd_config文件如下:

# Package generated configuration file
# See the sshd_config(5) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key …
Run Code Online (Sandbox Code Playgroud)

ssh

15
推荐指数
2
解决办法
17万
查看次数

标签 统计

ssh ×1