添加 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
添加 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