Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-13-2003, 04:53 AM   #1
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 76

Rep: Reputation: 15
[new bie] sshd: refused connect from 192.168.x.x

Hello there,

I try to establish a ssh connection between a Mandarake 9.1 server and w Windows client (Putty).

But each time I try to connect I got this error on the server side in /var/log/messages : sshd[pid]: refused connect from <clientIPAddress>.

I try a log of workaround like dealing with RSA keys but without success.

Note : the firewall is disabled.
Old 12-13-2003, 02:57 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Make sure you have the IP or netblock that should be allowed to connect in /etc/hosts.allow. It should be:
sshd: 192.168.0.nnn
the above might not work (I can't remember if it accepts CIDR), so this should work
Old 12-14-2003, 02:39 AM   #3
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 76

Original Poster
Rep: Reputation: 15

/etc/hosts.allow was the problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is someone on my network?! ::ffff: ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM network with Micro420 Linux - Networking 2 02-27-2005 06:59 AM
Iptables is converting -s into why !? qwijibow Linux - Security 2 01-26-2005 09:57 AM
what is the meaning of this 192.168/16 ? kublador Linux - Networking 2 09-02-2004 06:51 AM ? Firew Linux - Networking 1 04-12-2001 01:02 PM

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration