RHEL4 + SSH

Senthil Prabu.S prabu333 at hotpop.com
Tue Mar 22 11:25:47 UTC 2005


Once the ssh deamon is running, it is sure that ssh is alive.
If ssh id not starting up, check ur syslog for errors.

You can check ssh is up or not by using ps command
# ps -ae | grep ssh
   648 ?         0:00 sshd

And also by using netstat command as

netstat -na | grep  LISTEN

which would show you the following if ssh is alive,
tcp        0      0  *.22                   *.*                     LISTEN


--
Senthil Prabu.S

----- Original Message ----- 
From: "darshan jadav" <root.devil at gmail.com>
To: "Ed Greshko" <Ed.Greshko at greshko.com>
Cc: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
Sent: Tuesday, March 22, 2005 4:25 PM
Subject: Re: RHEL4 + SSH


>I know the diff between SSH and Telnet
> 
> I m using telnet to port 22 to check if the SSH service is alive or
> not, and instead of givin me the telent prompt it throws me out,
> 
> telnet localhost 22
> Trying 127.0.0.1...
> Connected to hell-rules (127.0.0.1).
> Escape character is '^]'.
> SSH-1.99-OpenSSH_3.6.1p2
> 
> This is output from my CentOS system
> 
> ....
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list