[CentOS] sshd problems
Rodrigo Barbosa
rodrigob at suespammers.org
Sat Oct 29 05:47:31 UTC 2005
-----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 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)
iD8DBQFDYwzzpdyWzQ5b5ckRAmFxAJ9f8dHygaOKp2AN7fWgwYKCJDwl6ACePXX4
zAmFVnOUf4aOekdOdVXdxKE=
=pO/l
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list