小编Chi*_*gue的帖子

MobaXTerm - SSH 密钥认证

我有一个经过转换的密钥,可以与 Putty 配合使用。

我试过这些格式:

ssh -p 1111 -i id_rsa chip@192.168.0.100

ssh -i id_rsa -p 1111 chip@192.168.0.100
Run Code Online (Sandbox Code Playgroud)

密钥与 MobaXTerm 可执行文件位于同一文件夹中。

谢谢!

编辑:

[chip.client] $ ssh -p 1111 -i id_rsa chip@192.168.0.100 -v
Warning: Identity file id_rsa not accessible: No such file or directory.
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 192.168.0.9 [192.168.0.100] port 1111.
debug1: Connection established.
debug1: identity file /home/chip/.ssh/id_rsa type -1
debug1: identity file /home/chip/.ssh/id_rsa-cert type -1
debug1: Remote protocol version 2.0, remote …
Run Code Online (Sandbox Code Playgroud)

ssh

9
推荐指数
2
解决办法
7万
查看次数

标签 统计

ssh ×1