PDA

View Full Version : Server listening on port 22?


stanch
19th February 2005, 12:58 PM
I a :confused: m getting the following information / error on my secutrit log at least once and sometimes several times a day.

Feb 13 14:08:27 evrtwaxxxxxxxxxxx sshd[4690]: Server listening on :: port 22.
Feb 13 14:08:27 evrtwaxxxxxxxxxxx sshd[4690]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.

I don't understand what the computer is trying to do or what this message is telling me. Should I be concerned? Is corrective action necessary? I would appreciate any one shedding some light on this.
Thank you,
stanch

crackers
19th February 2005, 05:44 PM
That's the SSH daemon (remote access protocol) restarting. It does that, nothing to be concerned about.

LiNuX-CrUsAdEr
20th February 2005, 10:52 AM

I a :confused: m getting the following information / error on my secutrit log at least once and sometimes several times a day.

Feb 13 14:08:27 evrtwaxxxxxxxxxxx sshd[4690]: Server listening on :: port 22.
Feb 13 14:08:27 evrtwaxxxxxxxxxxx sshd[4690]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.

I don't understand what the computer is trying to do or what this message is telling me. Should I be concerned? Is corrective action necessary? I would appreciate any one shedding some light on this.
Thank you,
stanch

This normally happens if you have more than one NIC installed on your box. You have to define in what NIC you would like the SSH daemon to listen. For example, if you want to run SSH daemon on port 22 of NIC with IP address 192.168.100.1, set the following on your SSH configuration file (more /etc/ssh/sshd_config). Note, that this setting overrides the default one.

ListenAddress 192.168.100.1

:)

stanch
20th February 2005, 11:15 AM
Thank you very much for the information.
stanch

stanch
20th February 2005, 11:17 AM
Thank you both very much for the information.
stanch