Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-08-2005, 11:27 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 5
Rep:
|
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?
|
|
|
12-08-2005, 12:44 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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.
|
|
|
All times are GMT -5. The time now is 01:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|