SSH免密连接,A电脑免密连接B
A电脑的.ssh/id_rsa.pub中的公钥内容,放在B电脑.ssh/authorized_keys中
将本机生成的rsa_id.pub公钥上传至服务器【~/.ssh/authorized_keys】处。
cat id_rsa.pub >> ~/.ssh/authorized_keys
SSH免密连接,A电脑免密连接B
A电脑的.ssh/id_rsa.pub中的公钥内容,放在B电脑.ssh/authorized_keys中
将本机生成的rsa_id.pub公钥上传至服务器【~/.ssh/authorized_keys】处。
cat id_rsa.pub >> ~/.ssh/authorized_keys