# mkdir /root/.ssh
# vim /root/.ssh/authorized_keys
粘贴公钥,保存退出
# chmod 700 /root/.ssh/
# chmod 600 /root/.ssh/authorized_keys
# setenforce 0
# vim /etc/selinux/config
SELINUX=enforcing 修改为 SELINUX=disabled
本文出自 “暴走的斯图卡” 博客,请务必保留此出处http://stuka.blog.51cto.com/9903410/1611676
原文:http://stuka.blog.51cto.com/9903410/1611676