SSH Connect Trust Configuration¶
1. Config trust¶
- 1.1 Create private key and public key
Create ssh key (private key and public key)
Generate the authorization key through the public key
- 1.2 Check ssk folder and key file authority
.ssh目录的权限为700,其下面的authorized_keys和私钥权限为600
否则会因权限问题导致无法免密登陆
- 1.3 Copy
.sshfolder to other server
如果需要2台主机互相免密访问,请将 .ssh/authorized_keys 内容互相添加到各自主机中
- 1.4 Test access to trusted host


