LINUX

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

 

posted on 2016-08-12 19:52  anjuncc  阅读(72)  评论(0编辑  收藏  举报

导航