Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2010 17:31:32 -0700
From:      Gary Kline <kline@thought.org>
To:        Tim Daneliuk <tundra@tundraware.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: ssh: port 22: connection refuused
Message-ID:  <20100507003132.GC43291@thought.org>
In-Reply-To: <4BE34ECF.70904@tundraware.com>
References:  <20100506172149.GA42430@thought.org> <4BE2FD22.3060302@tundraware.com> <20100506213556.GB42975@thought.org> <4BE33781.90108@tundraware.com> <4BE3392E.6030405@tundraware.com> <4BE34ECF.70904@tundraware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 06, 2010 at 06:20:47PM -0500, Tim Daneliuk wrote:
> > 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?  :-)


	just very slightly!!  i'll grep for sshd from the output of ps.
	stranger things, etc, etc.


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

	i'm using whatever is bundled in the 7.3 release.  in ports
	its v1.2.33_5 ...


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

-- 
 Gary Kline  kline@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




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