LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-29-2004, 12:19 AM   #1
K_M_McMahon
LQ Newbie
 
Registered: Dec 2003
Location: Laurel, MD
Distribution: mandrake
Posts: 16

Rep: Reputation: 0
ssh login problem


Hello, I am a relative newbie so be easy on me ;-)


I just installed suse 9.0, and everything is running fine. I can access the internet and ping my box from another pc on my network. I can use ssh from the suse machine to login to itself with no problems. But when I try to use SSH from another pc, it allows me to connect okay, asks me for my username, and then for the password, but it keeps saying "password incorrect" even though I KNOW I am using the correct password. I have tried with my regular user as well as my root user, and either way it says "password incorrect". Is there a config file that I need to add something to? What am I doing wrong?


Thanx for any help!!!


-Kevin McMahon

Last edited by K_M_McMahon; 03-29-2004 at 12:22 AM.
 
Old 03-29-2004, 12:30 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Did you know that when the host you're trying to
connect to hasn't got a DNS entry, and isn't listed
in your /etc/hosts the machine you're on will connect
to itself?


Cheers,
Tink
 
Old 03-29-2004, 12:53 AM   #3
K_M_McMahon
LQ Newbie
 
Registered: Dec 2003
Location: Laurel, MD
Distribution: mandrake
Posts: 16

Original Poster
Rep: Reputation: 0
it has the same problem whether I go out over the internet (hit my global IP address and have my router route the connection to the linux box, as well as when I try to connect to the local IP address directly without going over the Internet.
 
Old 03-29-2004, 01:15 AM   #4
K_M_McMahon
LQ Newbie
 
Registered: Dec 2003
Location: Laurel, MD
Distribution: mandrake
Posts: 16

Original Poster
Rep: Reputation: 0
update: i just tried using secure ftp, and it let me connect (using the same password) with no problems!!!!
 
Old 03-29-2004, 10:22 AM   #5
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
are you sure that your ssh'ing to the proper username on the linux machine? You can use:
ssh -l <username> <hostname>
or I use:
ssh <username>@<hostname>
Don't forget to add the "-X" if you want to forward x packets, and it's not default.
 
  


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 Login problem Artik Linux - Networking 6 10-17-2005 10:54 AM
ssh login problem RedHat AS3 ("Did not receive identification string from") spaniel Linux - Security 1 07-03-2005 07:50 AM
Another ssh login problem silver2003 Linux - Security 3 10-03-2004 09:44 AM
SSH login problem - cannot choose user atom Linux - Networking 2 02-29-2004 12:53 PM
Strange! SSH and Telnet login problem McSmooth Linux - General 7 10-03-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 AM.

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