Mac 连接ssh 需要配置下面的信息
在.ssh/config(或者/etc/ssh/ssh_config)中配置:
Host xxxxx
HostName xxxx
User xxxx
Port 2222
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
2024-02-02 09:47:16
在.ssh/config(或者/etc/ssh/ssh_config)中配置:
Host xxxxx
HostName xxxx
User xxxx
Port 2222
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
UserKnownHostsFile /dev/null