linux 配置秘钥

添加 adduser [name]  删除 userdel [name] 
公钥名字authorized_keys
权限 chmod    .ssh 700 authorized_keys 600

cd ~
mkdir .ssh
chmod 700 .ssh/
cd .ssh
touch authorized_keys
chmod 600 authorized_keys
emacs authorized_keys

exit
/etc/init.d/ssh restart

posted @ 2018-12-04 12:26  iceman!  阅读(213)  评论(1编辑  收藏  举报