小编tur*_*rnt的帖子

SSH 尝试时“权限被拒绝(公钥)”和“key_load_public:没有这样的文件或目录”

我在运行时不断收到以下错误ssh -v -i privatekey user@server.org

OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to server.org [XXX.XXX.XXX.XXX] port 22.
debug1: Connection established.
debug1: identity file privatekey type 1
debug1: key_load_public: No such file or directory
debug1: identity file privatekey-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 pat OpenSSH* …
Run Code Online (Sandbox Code Playgroud)

ssh ssh-keys

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

ssh ×1

ssh-keys ×1