ssh: port 22: connection refuused

Gary Kline kline at thought.org
Fri May 7 07:28:54 UTC 2010


On Fri, May 07, 2010 at 12:18:25AM -0500, Tim Daneliuk wrote:
> On 5/7/2010 12:13 AM, Gary Kline wrote:
> <SNIP>
> 
> >>
> >> What's in your /etc/hosts.allow file?
> > 
> > 
> > 
> > # Start by allowing everything (this prevents the rest of the file
> > # from working, so remove it when you need protection).
> > # The rules here work on a "First match wins" basis.
> > ALL : ALL : allow
> > 
> > 	that i moused and pasted from my main desktop.
> > 
> > 
> 
> OK and you've indicated that sshd is running.  A few other thoughts:
> 
> 1) Is there a firewall running on your machine that could be preventing
>    the connection?


	pcbsd seems to have its oen kind of ipf; thanks for the
	pointer.  be nice if this were the fault.

> 
> 2) Is there a firewall running on your *client* machine that could
>    be interfering.

	no; my firewall stuff is all my pfSense computer.

> 
> 3) Log into the FreeBSD machine and see if you can ssh to localhost
>    to just to confirm that sshd is working.  If that works, try sshing
>    to the same machine using its IP, and then its address to make sure
>    DNS is resolving properly.


	i did this hours ago.  i thought it would fail, but nope.  i
	ssh'd from the thinkpad to the thinkpad.  ....you know, it
	might be worth building the ssh stuff in ports before i blow
	away the entire distribution....

> ----------------------------------------------------------------------------
> Tim Daneliuk     tundra at tundraware.com
> PGP Key:         http://www.tundraware.com/PGP/
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
    The 7.83a release of Jottings: http://jottings.thought.org/index.php
           http://journey.thought.org  99 44/100% Guaranteed Novel



More information about the freebsd-questions mailing list