linux CentOS 7
查看是否安装SSH服务
[foamy@localhost ~]$ rpm -qa |grep ssh
libssh2-1.4.3-8.el7.x86_64
openssh-server-6.6.1p1-11.el7.x86_64
openssh-6.6.1p1-11.el7.x86_64
openssh-clients-6.6.1p1-11.el7.x86_64
[foamy@localhost ~]$
查看服务是否启动
[root@localhost foamy]# ps -e | grep ssh
2981 ? 00:00:00 ssh-agent
4324 ? 00:00:00 sshd
[root@localhost foamy]# ifconfig