Hello,
For some reason ssh has stopped working. Its been a good while since I tried to login remotely so I figure an upgrade is probably to blame as it was working some time ago.
This is the only error I see when sshd is started:
Oct 28 21:55:52 sshd[7137]: Server listening on :: port 22. Oct 28 21:55:52 sshd[7137]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
What does this mean?
TIA
For some reason ssh has stopped working. Its been a good while since I tried to login remotely so I figure an upgrade is probably to blame as it was working some time ago.
This is the only error I see when sshd is started:
Oct 28 21:55:52 sshd[7137]: Server listening on :: port 22. Oct 28 21:55:52 sshd[7137]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
What does this mean?
It probably means sshd is already running. try ps aux | grep sshd And netstat -tupan | grep sshd Then maybe service sshd restart
Gerald
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, Oct 28, 2005 at 10:18:07PM -0500, Gerald Waugh wrote:
For some reason ssh has stopped working. Its been a good while since I tried to login remotely so I figure an upgrade is probably to blame as it was working some time ago.
This is the only error I see when sshd is started:
Oct 28 21:55:52 sshd[7137]: Server listening on :: port 22. Oct 28 21:55:52 sshd[7137]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
What does this mean?
It probably means sshd is already running. try ps aux | grep sshd And netstat -tupan | grep sshd Then maybe service sshd restart
You might want to add "fuser -n tcp 22" to that list. It will return the PID of the process that is currently using that port 22/tcp.
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Thomas E Dukes wrote on Fri, 28 Oct 2005 22:22:27 -0400:
For some reason ssh has stopped working. Its been a good while since I tried to login remotely so I figure an upgrade is probably to blame as it was working some time ago.
Are you sure that is is not working? You will get this kind of message after upgrade to 4.2 but it won't stop sshd working (see earlier thread about a week ago).
Kai
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Kai Schaetzl Sent: Saturday, October 29, 2005 6:31 AM To: centos@centos.org Subject: Re: [CentOS] sshd problems
Thomas E Dukes wrote on Fri, 28 Oct 2005 22:22:27 -0400:
For some reason ssh has stopped working. Its been a good
while since
I tried to login remotely so I figure an upgrade is
probably to blame
as it was working some time ago.
Are you sure that is is not working? You will get this kind of message after upgrade to 4.2 but it won't stop sshd working (see earlier thread about a week ago).
Kai
Thanks for everyones response!
The problem was uncommenting the ListenAddress line. It is now working.
Again, thanks
On Saturday 29 October 2005 02:22 am, Thomas E Dukes wrote:
Oct 28 21:55:52 sshd[7137]: Server listening on :: port 22. Oct 28 21:55:52 sshd[7137]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Under /etc/ssh/sshd_config change #ListenAddress 0.0.0.0 to ListenAddress [IP-address-you-want-to-connect-to]
restart SSHd and see if it works
Am Sa, den 29.10.2005 schrieb Thomas E Dukes um 4:22:
For some reason ssh has stopped working. Its been a good while since I tried to login remotely so I figure an upgrade is probably to blame as it was working some time ago.
This is the only error I see when sshd is started:
Oct 28 21:55:52 sshd[7137]: Server listening on :: port 22. Oct 28 21:55:52 sshd[7137]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
What does this mean?
It is caused by IPv6 in use. Nothing to worry about and no "hard error".
Alexander
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Alexander Dalloz Sent: Saturday, October 29, 2005 9:32 PM To: CentOS mailing list Subject: Re: [CentOS] sshd problems
Am Sa, den 29.10.2005 schrieb Thomas E Dukes um 4:22:
For some reason ssh has stopped working. Its been a good
while since
I tried to login remotely so I figure an upgrade is
probably to blame
as it was working some time ago.
This is the only error I see when sshd is started:
Oct 28 21:55:52 sshd[7137]: Server listening on :: port 22. Oct 28 21:55:52 sshd[7137]: error: Bind to port 22 on
0.0.0.0 failed:
Address already in use.
What does this mean?
It is caused by IPv6 in use. Nothing to worry about and no "hard error".
Alexander
Hello Alexander,
Thanks, got it working by uncommenting 'ListenAddress 0.0.0.0"
Eddie