Connection Refused on ssh

Janina Sajka janina at
Thu Oct 7 17:06:18 UTC 2004

Yes. One quick way to find these things out that I like to use is to
nmap the interface, e.g.

nmap -P0

In the present instance you're looking to see what the report says about
port 22.

Mike Gorse writes:
> Also, are you sure that sshd is running on the machine (ie, pidof sshd 
> returns something)?  If so, then try using ipchains or iptables to make 
> sure it isn't being firewalled.  At one point we had a RH box at work on 
> which I was trying to enable ssh, but the person who installed rh had 
> selected an option for a firewall, so I wound up needing to edit a file in 
> /etc/sysconfig (the file did say that manually editing it was not 
> recommended, but it didn't say how I was supposed to edit it if not 
> manually) to tell it to accept connections on port 22 as it did for 23 and 
> others.
> -- Michael Gorse / AIM:linvortex / --
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at

				Janina Sajka, Chair
				Accessibility Workgroup
				Free Standards Group (FSG)

janina at	Phone: +1 202.494.7040

More information about the Blinux-list mailing list