Re: RHEL4 + SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: "Ed Greshko" <Ed.Greshko@xxxxxxxxxxx>
Cc: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux