`ps aux | grep -c sshd` This command should return 1.That means the application is installed.
Regards, Mithun Vasisht On Mon, Nov 7, 2011 at 4:00 PM, Mahesh saini <[email protected]> wrote: > How to be assure sshd is running on server or not? > > On Mon, Nov 7, 2011 at 3:32 PM, Nilesh Govindarajan > <[email protected]>wrote: > >> On Mon 07 Nov 2011 03:26:58 PM IST, kenneth gonsalves wrote: >> > On Mon, 2011-11-07 at 15:11 +0530, Mahesh saini wrote: >> >> "ssh: connect to host hostname.com port 22: Connection refused" >> >> >> > >> > usually means that sshd is not running on the server. >> >> Exactly. If iptables is blocked, you'll usually see connection timed >> out. >> >> -- >> Nilesh Govindarajan >> http://nileshgr.com >> >> -- >> Mailing list guidelines and other related articles: >> http://lug-iitd.org/Footer >> > > > > -- > (\/)/\ /-/ ES /-/ > > -- > Mailing list guidelines and other related articles: > http://lug-iitd.org/Footer > -- What is popular more than often not right,what is right is seldom popular -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
