sshd problems

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



-----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@xxxxxxxxxxxxxxx>
"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-----

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux