Re: Connection Refused on ssh

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

 



Janina,

well, adding that line to /etc/hosts.allowed didn't jork. The machine 
won't even respond to telnet when I use its IP address. It will respond 
to ping, however.

I'm beginning to think I should call that machine the mule, because  it's 
so stubborn.

John


On Fri, 8 Oct 2004, Janina Sajka wrote:

> John J. Boyer writes:
> > When I try ssh with -v I get a number of debug limes. the only one which 
> > seems significant is
> > sss_connect: needpriv 0
> 
> OK. Two questions ...
> 
> 1.)	Did you ascertain that sshd is indeed listening?
> 
> nmap -P0 [your.address] |grep 22
> 
> Here's an example of what you should get from my machine:
> 
> nmap -P0 66.92.170.84 |grep 22
> 22/tcp   open  ssh
> 
> 2.)	Is ssh allowed by /etc/hosts.allow in the target machine? Look
> for something like:
> 
> sshd: all
> 
> Specific names/addresses/masks are also acceptable, if you want to keep
> this machine restricted. Example:
> 
> sshd: 192.168.1.
> 
> Note the trailing '.'
> 
> Something like:
> 
> all: all
> 
> would also work, but isn't really advisable from a security perspective.
> 
> If you don't have such a line in /etc/hosts.allow, put one in and
> restart sshd like this:
> 
> service sshd restart
> 
> HTH.
> 
> 				Janina
> 
> _______________________________________________
> 
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list
> 

-- 
John J. Boyer; Executive Director, Chief Software Developer
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703


_______________________________________________

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]