ssh Connection refused

Joshua Lokken joshua at twobirds.us
Tue Apr 13 08:20:17 PDT 2004


* Kevin D. Kinsey, DaleCo, S.P. <kdk at daleco.biz> [2004-04-13 07:52]:
> RazorOnFreeBSD wrote:
> 
> >----- Original Message ----- 
> >From: "Kevin D. Kinsey, DaleCo, S.P." <kdk at daleco.biz>
> >To: "RazorOnFreeBSD" <yann.luppo at attglobal.net>
> >Cc: <freebsd-questions at freebsd.org>
> >Sent: Tuesday, April 13, 2004 4:19 AM
> >Subject: Re: ssh Connection refused
> > 
> 
> I guess anything is somewhat possible.  I'm just
> looking for the most likely stuff first ...
> 
> Can you "ssh youraccount at localhost" ?
> 
> What about tcpwrappers?  What is in /etc/hosts.allow?
> 
> Tried rebooting or HUPing the daemon?
> 
>    #/bin/kill -HUP 93
> 
> (or whatever the current PID is for /usr/sbin/sshd)
> 

In the future, to start and restop sshd (without rebooting), just do:

# kill -HUP `cat /var/run/sshd.pid`

HTH,

-- 
Joshua

I object to intellect without discipline;  I object to power without
constructive purpose.
		-- Spock, "The Squire of Gothos", stardate 2124.5



More information about the freebsd-questions mailing list