[CentOS] how tell what process has port 22

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Thu Mar 23 05:32:37 UTC 2006


On Wed, 2006-03-22 at 23:30 -0500, Jerry Geis wrote:
> I had trouble with the update to 4.3.
> 
> /usr/sbin/sshd -d -D is telling me some other process is
> using port 22 and cant bind to it.
> 
> How do I tell what program that is and stop it?

lsof -i :22

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://centos.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060323/5566e1b6/attachment.bin


More information about the CentOS mailing list