LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2003, 12:14 AM   #1
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
Question ssh_exchange woes


i've installed openssh3.7p1 with the --with-tcp-wrappers enabled, the only trouble is i don't know how to set the entry in hosts.allow to allow ssh through. there are 2 cases i've experienced:

1) if i have the following line in my hosts.allow

sshd: 137.1.1.55: allow

i get an error message (on client machine) from ssh

Connection closed by 137.1.1.34

2) if i change the line in hosts.allow to

ssh: 137.1.1.55: allow

i get a different error message on the client machine

ssh_exchange_identification: Connection closed by remote host

this behavior makes me suspect that this has something to do with tcpd, and the IP is correct. how do i set the tcp wrappers up correctly to prevent this from happening?

thx for reading,
y-p
 
Old 10-09-2003, 04:59 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
First check everything is basically OK by putting
sshd:ALL
in hosts.allow. This should work.

Next put in the IP address
sshd:137.1.1.55

You don't need to add the "allow" keyword - its already assumed since you are editing hosts.allow, not hosts.deny.

Iain.
 
  


Reply



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
9.2 Woes kyte Mandriva 4 11-08-2003 05:22 PM
ssh_exchange woes yocompia Linux - Networking 8 10-09-2003 01:10 PM
ssh_exchange woes yocompia Linux - Networking 2 10-09-2003 12:41 PM
X woes norfenstein Slackware 9 03-13-2003 12:11 AM
IP Woes :( adcworks Linux - Networking 8 08-05-2002 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration