查看是否安装ssh
rpm -qa | grep ssh
yum install openssh-server 安装ssh
开启ssh
service sshd start
netstat -ntpl | grep 22 查看端口是否打开
测试连接
ssh root@192.168.98.128(centos7IP)
微信扫一扫
rpm -qa | grep ssh
yum install openssh-server 安装ssh
service sshd start
netstat -ntpl | grep 22 查看端口是否打开
ssh root@192.168.98.128(centos7IP)
相关推荐