LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-08-2005, 11:27 AM   #1
osiris9510
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
ssh problem


hey all
I recently installed SUSE 9 enterprise server...
I can ssh locally, that is, ssh into the server from the server, but I can't ssh into the server from another machine. I get "Access Denied" when logging in as root OR logging in as a regular user. The correct passwords are being supplied.

hosts.allow = ALL : ALLOW
hosts.deny = removed this file.

Insecure I know but these are on private IP addresses with no internet connection. Its for learning purposes.

Any ideas?
 
Old 12-08-2005, 12:44 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
1) Verify the home directory of the user (root or whoever) is writable ONLY by the user. If writable by any other user (i.e has write permissions for group or other) ssh considers it insecure and will fail.

2) Verify the .ssh directory under the user's home directory is writable only by the user for same reason as above.

3) Make sure the user does have a password (i.e. you didn't set it blank to prevent password prompt). Again ssh considers that insecure and won't let you login.
 
  


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
ssh problem gyc Linux - Software 2 12-05-2005 07:01 AM
ssh problem Mystified Linux - Networking 5 01-23-2005 06:17 PM
SSH problem silver2003 Linux - Security 2 09-30-2004 03:05 PM
ssh problem ocularbob Linux - Software 34 08-08-2003 01:34 PM

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

All times are GMT -5. The time now is 01:19 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