ip addr flush eth0 清除IP
centos ssh 无密码登陆关键
1 /etc/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
$chmod 700 ~/.ssh
$chmod 644 ~/.ssh/authorized_keys
ip addr flush eth0 清除IP
centos ssh 无密码登陆关键
1 /etc/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
$chmod 700 ~/.ssh
$chmod 644 ~/.ssh/authorized_keys