Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2010 18:20:47 -0500
From:      Tim Daneliuk <tundra@tundraware.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: ssh: port 22: connection refuused
Message-ID:  <4BE34ECF.70904@tundraware.com>
In-Reply-To: <4BE3392E.6030405@tundraware.com>
References:  <20100506172149.GA42430@thought.org>	<4BE2FD22.3060302@tundraware.com>	<20100506213556.GB42975@thought.org> <4BE33781.90108@tundraware.com> <4BE3392E.6030405@tundraware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 5/6/2010 4:41 PM, Tim Daneliuk wrote:
<SNIP>

>>> pl 14:20 <tao> [5036] ssh zen
>>> ssh: connect to host zen port 22: Connection refused
>>> pl 14:20 <tao> [5037] ssh -vvvv zen
>>> OpenSSH_5.1p1 FreeBSD-20080901, OpenSSL 0.9.8e 23 Feb 2007
>>> debug1: Reading configuration data /etc/ssh/ssh_config
>>> debug2: ssh_connect: needpriv 0
>>> debug1: Connecting to zen [10.47.0.190] port 22.
>>> debug1: connect to address 10.47.0.190 port 22: Connection
>>> refused
>>> ssh: connect to host zen port 22: Connection refused
>>> pl 14:22 <tao> [5038]                        
>>>
>>> 	any idea what the ``needpriv 0'' means?


The more I look at this, the more it looks to me like your sshd is not
running at all, isn't running on port 22, or is being blocked by some
kind of firewall.  Just for snicks, I tried to ssh to a machine on our
network that I know does not have an ssh daemon running.  Look at the
results:

  >ssh -vvvvv sylvester
  OpenSSH_5.4p1 FreeBSD-20100308, OpenSSL 0.9.8k 25 Mar 2009
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug2: ssh_connect: needpriv 0
  debug1: Connecting to sylvester.tundraware.com [192.168.0.102] port 22.
  debug1: connect to address 192.168.0.102 port 22: Connection refused
  ssh: connect to host sylvester.tundraware.com port 22: Connection refused

Look familiar?  :-)

P.S. You are running a VERY old version of OpenSSH.  I believe there
were significant security problems back that far.

----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BE34ECF.70904>