[CentOS] sshd problems
rodrigob at suespammers.org
Sat Oct 29 05:47:31 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
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: Server listening on :: port 22.
> > Oct 28 21:55:52 sshd: 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.
> ps aux | grep sshd
> 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
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the CentOS