LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-27-2004, 03:43 PM   #1
tangman
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Failed Login through SSH? Help PLEASE


Ive searched but no answer to my question.

I just updated from 9.2 mandrake i think to 10.0 Mandrake. So anways my problem is with ssh. I goto log in through Puddy (windows XP) to my linux box thats right next to me. I type root for my username then it asks for a password. I type the password in and then it says ACCess denied down below.

login as: root
root@192.168.1.106's password:
Access denied


The password for sure is correct because i log into the machine all the time from the actual physicle machine. its right next to me. Its not making any sense and im getting frusterated. If you can help please do.

Thanx
Kirk
 
Old 03-27-2004, 03:49 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You may have root login forbidden. Check /etc/ssh/sshd_config for 'PermitRootLogin' line. Is it set to 'yes' or 'no'?
 
Old 03-27-2004, 04:12 PM   #3
tangman
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
its yes



and now all of a sudden like after i restarted my comp i cant go into command line only when i press ctr+alt+F1 it goes to the loading screen but never goes into it.


but back to the question. it says yes and it still wont let me login.
 
Old 03-27-2004, 04:24 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
check /etc/securetty

for terminals ptys that root can login from.
 
Old 03-27-2004, 04:47 PM   #5
tangman
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by AutOPSY
check /etc/securetty

for terminals ptys that root can login from.
??? im a newb remember :P what exactly am i opening or looking for in that folder
 
Old 03-27-2004, 04:51 PM   #6
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
/etc/securetty is the name of the file it will look like this inside:
(or close)


console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
##vc/7
##vc/8
##vc/9
##vc/10
##vc/11
##tty1
##tty2
##tty3
##tty4
##tty5
##tty6
##tty7
##tty8
##tty9
##tty10
##tty11

ptya0
ssh may be a pty so add like ptya1
ptya2
ptya3
without a # just like the others.

or excuse me, pts0 .

Last edited by AutOPSY; 03-27-2004 at 04:56 PM.
 
Old 03-27-2004, 05:02 PM   #7
tangman
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
in my file it has:

tty1
vc/1
tty2
vc/2
tty3
vc/3
tty4
vc/4
tty5
vc/5
tty6
vc/6





So what do i add? or subtract sorry for being so newbish its hard for me to lol



I added ptya1 through 6 and i tried logging in through ssh still didnt work

Last edited by tangman; 03-27-2004 at 05:31 PM.
 
Old 03-28-2004, 01:36 AM   #8
tangman
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
HELP!!
 
Old 03-31-2004, 03:02 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Try to log as root via ssh and then look into /var/log/auth.log, at the end of the file. Is there a message about your root login attempt?
 
  


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
Failed SSH login attempts Capt_Caveman Linux - Security 38 01-03-2006 03:22 PM
ssh login reverse mapping failed, should I worry? michaelsanford Linux - Security 3 10-16-2005 09:27 AM
failed ssh bones996 Linux - Networking 6 10-30-2004 08:46 PM
ssh failed login question nelly_boy Solaris / OpenSolaris 3 02-26-2004 08:52 AM
ssh failed login count - where is it? mbhenry Linux - Security 1 11-13-2003 11:35 AM

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

All times are GMT -5. The time now is 11:31 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
Open Source Consulting | Domain Registration