摘要:
1. 先看本机有没有安装openssh#rpm-qa|grepopenssh如果有如上字样所示,则说明openssh已经安装了2. 看看本机有没有安装openssl(openssl是openssh依赖的中间件)#rpm-qa|grepopenssl如果有如上字样所示,则说明openssl已经安装了3. 开启sshd 服务#/etc/rc.d/init.d/sshdstart4. 查看sshd 服务进程端口(默认是22)#netstat-an|grep:225. 修改ssh服务器的配置文件#vim/etc/ssh/sshd_configsshd_config配置文件一般保存默认就行了,可能有时需 阅读全文