Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2009, 12:23 AM   #1
LQ Newbie
Registered: May 2009
Posts: 2

Rep: Reputation: 0
user password not accepted when using SSH to a remote linux box


I'm having a problem logging into linux machine via ssh. In short, the password is not accepted by the system and then after 5 attempts drops my connection. I've read a similar post titled "root password isn working". My problem is not with root login (this works OK) but with another user called "fred".
using ssh I'm prompted for the username (I use "fred") then get prompted for password. The password i use doesn't get me in. Just wondering if it's some thing like a setting in ther sshd_config file???
Here's what's intersting; as a local user username "fred" has password "fred". When I login as "fred" using telnet, there's no password and as explained, for SSH who no's.

I think the thread mentioned before puts me on the right track but I'm wondering 2 things;
1) why there appears to be 3 diferent passwords for the same user.
2) if there's any other sshd_config paramters I needs to look at?

Anyhow if some SSH guru can explain it would be very much appreciated.

Old 08-06-2009, 12:29 AM   #2
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
This question is far too fuzzy to get answered, I'm sorry..

What distribution are you using? What version of it? Is it a plain new install? or has it been customized?

On most systems, PAM (The Pluggable Authentication Module) should kick in on any login, be it local, telnet or ssh.

Depending on your distro, there are log files that can tell you why access has not been granted.
Old 08-06-2009, 07:10 AM   #3
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Rep: Reputation: 18
Do you know the password for the user fred?

because it seems you dont

as explained, for SSH who no's.
best thing to do is get whoever admins the server to reset the password for you.



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
Fedora 10/unable to ssh out from box to remote host (SSH within LAN ok) huskeypm Linux - Networking 3 04-14-2009 07:37 PM
Screen Saver Password Activates but Password not accepted mccartjd Linux - Newbie 2 05-06-2008 11:37 AM
User and Password not accepted. MikRose Ubuntu 2 03-10-2007 11:32 AM
remote password not accepted v1nc3nt Linux - Newbie 1 05-12-2006 04:36 AM
redhat 9, can't connect to ssh from remote box nathan plemons Linux - Networking 2 01-09-2004 06:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 AM.

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