ARTICLE · INTELLIGENCE

战地情报 · 详情页

来自尧图项目组的一线实战观察与深度解析

ubuntu开启ssh

ubuntu开启ssh 环境: ubuntu20.041. ubuntu默认没有安装ssh的server需要自己安装sudo apt-get install openssh-server2. 配置允许远程使用root账号ssh登入修改/etc/ssh/sshd_config文件找到PermitRootLogin去掉#号prohibit-password改为yes#PermitRootLogin prohibit-password PermitRootLogin yes3. 重启sshdsudo systemctl restart sshd4. 设置开机自启动sudo systemctl enable sshd
RELATED READING

延伸阅读

更多一线实战笔记与深度复盘,助您持续精进