修改 sudo vim /etc/ssh/sshd_config 文件,添加
sudo vim /etc/ssh/sshd_config
1PermitRootLogin yes # 允许 root 登录2PasswordAuthentication yes # 允许密码登录3PubkeyAuthentication yes # 允许证书登录
部分内容可能已过时
分享你的想法,与大家交流讨论