LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2004, 07:14 AM   #1
IgnorantPup
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Question Debian ssh access problems


Hi,

First time Linux user here trying to get ssh up and running. Well ... it's up and running but I can't seem to allow and deny ssh connections with the hosts.allow and hosts.deny files.

I compiled ssh with libwrap and from what I understood of the output it found the necessary libwrap packages.

Have the following packages installed:
pi libwrap0 7.6-9 Wietse Venema's TCP wrappers library
ii libwrap0-dev 7.6-9 Wietse Venema's TCP wrappers library, develo

I installed ssh-3.2.9.1 and am running kernel 2.4.18-bf2.4 ( I think )
hosts.deny only has the ALL : ALL line in it and hosts.allow has no ssh line but I can still connect to the host.

Hope someone can point me in the right direction.
 
Old 03-13-2004, 09:03 AM   #2
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 355

Rep: Reputation: 43
You mean in hosts.deny, you have the line :
sshd : ALL : deny ?

Not sure why you needed to compile ssh, the binary you get from Debian is already compiled againts libwrap.a
 
Old 03-15-2004, 04:09 PM   #3
IgnorantPup
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Nope ... hosts.deny only has one line:
ALL : ALL

I was under the impression that I need to compile just about any program I download. Downloaded the zipped file from ssh.com, unzipped, compiled with libwrap and so on ...

Uninstalled ssh today and got it again with apt-get ssh which stopped ssh connections from other machines. Thing is that it still wouldn't react when I added

sshd : .some.local.network

to the hosts.allow file. Sooo ... I uninstalled it and reverted to the previous ssh version
 
  


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
I need to allow ssh access Lsteele Linux - Newbie 16 11-30-2005 12:10 AM
Debian Sarge Internet access problems Stimz Linux - Newbie 1 08-15-2005 04:31 PM
Restricting SSH access by IP sooner5150 Linux - Security 3 11-18-2004 12:09 PM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 11:25 PM
password-less ssh access? soup Slackware 6 07-10-2003 02:49 PM


All times are GMT -5. The time now is 05:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration