linux远程连接
安装SSH
yum install openssh-server
启动SSH
service sshd start
设置开机运行
chkconfig sshd on
linux防火墙
安装
yum install firewalld
启动
service firewalld start
检查状态
service firewalld status
关闭或禁用防火墙
service firewalld stop/disable
yum install openssh-server
service sshd start
chkconfig sshd on
yum install firewalld
service firewalld start
service firewalld status
service firewalld stop/disable