B(center)--------A(g_server)
A: ssh-keygen -t rsa (g_server)
B: scp -P 58422 [email protected]_server_ip:~/.ssh/id_rsa.pub /root/.ssh/authorized_keys
A: scp -P 58422 [email protected]:~/.ssh/id_rsa.pub /root/.ssh/authorized_keys
时间: 2024-10-19 09:13:52