1、centos7.6设置静态IP地址,并能PING通它
2、关闭centos7.6防火墙和selinux
3、默认已安装,启动服务
systemctl start sshd
开机自启动 systemctl enable sshd
4、查看服务
ps -e | grep sshd
5、配置
vi /etc/ssh/sshd_config
改3处
prot 22
permitrootlogin yes
passwordauentication yes
6、ssh 登录
sudo ssh 192.168.1.199 -l root
unbuntu ssh登录 cenos7.6
最新推荐文章于 2024-06-13 15:57:17 发布