LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 12-13-2003, 04:53 AM   #1
jmcollin92
Member
 
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
chort
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
or
sshd: 192.168.0.0/16
the above might not work (I can't remember if it accepts CIDR), so this should work
sshd: 192.168.0.0/255.255.255.0
 
Old 12-14-2003, 02:39 AM   #3
jmcollin92
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 76

Original Poster
Rep: Reputation: 15
Thank's,

/etc/hosts.allow was the problem.
 
  


Reply


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:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
192.168.2.1 network with 192.168.0.1? Micro420 Linux - Networking 2 02-27-2005 06:59 AM
Iptables is converting -s 192.168.1.0/8 into 192.0.0.0/8 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
192.168.0.0/25 ? Firew Linux - Networking 1 04-12-2001 01:02 PM


All times are GMT -5. The time now is 03:10 AM.

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