Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-23-2005, 08:51 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
why doesn't my ssh work?

I am a newer in linux,i used "ssh" to login a remote system,I entered the correct password ,but it
can't connect successfully.My system kernel is 2.4.21,and the remote system kernel is 2.6.12,does that matter?
Can someone help me?

Last edited by lisa2005; 08-23-2005 at 08:52 PM.
Old 08-23-2005, 09:23 PM   #2
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Re: why doesn't my ssh work?

My system kernel is 2.4.21,and the remote system kernel is 2.6.12,does that matter?
No, not at all. The best thing to do is to run ssh in 'verbose' mode -- the problem should become pretty clear. Note that if there is a firewall between the two systems, it will of course need to have been set to allow such access.
ssh -v

Old 08-24-2005, 02:20 AM   #3
Registered: Aug 2003
Location: Norway
Distribution: FC4
Posts: 83

Rep: Reputation: 20
I've had a similar problem on Gentoo, involving Privilege separation and PAM authentication.
The problem is that once ssh has dropped the privileges, PAM auth does not work.

Open up the /etc/ssh/sshd_config file, and change the line which reads "UsePAM yes" to "UsePAM no".
You might also want to check that PasswordAuthentication is set to yes.


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 Doesn't Work With Cron ? guano2 Linux - Networking 4 08-06-2005 12:57 AM
Problems getting SSH to work TrulyTessa Linux - Networking 15 12-03-2004 05:04 PM
SSH from work Vindane Linux - Networking 5 05-30-2004 08:06 PM
SSH Doesn't work /cry =( kith Linux - General 6 08-09-2003 06:11 PM
Getting ssh-agent to work.. Sonny Linux - Security 16 01-25-2002 06:57 PM > Forums > Linux Forums > Linux - Networking

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

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