1, 查看服务器端SSH有没有安装
openssh-server
2, 对SSH服务器进行配置
#vi /etc/ssh/sshd_config
#打开服务器端SSH的22端口。
Prot 22
#使能SSH的版本1和版本2
Protocol 2,1
#让SSH服务器端监听所有的网卡
ListenAddress 0.0.0.0
3, 开启SSH服务
#service sshd start
4, 测试
1, 查看服务器端SSH有没有安装
openssh-server
2, 对SSH服务器进行配置
#vi /etc/ssh/sshd_config
#打开服务器端SSH的22端口。
Prot 22
#使能SSH的版本1和版本2
Protocol 2,1
#让SSH服务器端监听所有的网卡
ListenAddress 0.0.0.0
3, 开启SSH服务
#service sshd start
4, 测试