Re: Connection Refused on ssh

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

 



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

nmap -P0 192.168.1.1

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 / http://mgorse.home.dhs.org --
> 
> _______________________________________________
> 
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list

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

janina@xxxxxxxxxxxxxxxxx	Phone: +1 202.494.7040

_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]