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

相关文章:

  • 2021-05-28
  • 2021-12-06
  • 2022-03-05
  • 2021-07-16
  • 2021-12-04
  • 2021-10-30
  • 2021-08-10
  • 2021-12-25
猜你喜欢
  • 2021-05-10
  • 2021-11-23
  • 2021-08-31
  • 2021-05-30
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案