登陆centos,切换用户,切换到你要免密码登陆的用户,进入到家目录 2 创建钥匙, [xun@jzlinux ~]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/xun/.ssh/id_rsa): /home/xun/.ssh/id_rsa already exists. Overwrite (y/n)? y Enter passphra…
https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair Creating the key How you create your SSH key pair depends on which operating system you use. If the instructions for your operating system are not here, get in touch to request them or, if y…