LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Failed Login through SSH? Help PLEASE (https://www.linuxquestions.org/questions/linux-newbie-8/failed-login-through-ssh-help-please-163127/)

tangman 03-27-2004 03:43 PM

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

Mara 03-27-2004 03:49 PM

You may have root login forbidden. Check /etc/ssh/sshd_config for 'PermitRootLogin' line. Is it set to 'yes' or 'no'?

tangman 03-27-2004 04:12 PM

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. :(

AutOPSY 03-27-2004 04:24 PM

check /etc/securetty

for terminals ptys that root can login from.

tangman 03-27-2004 04:47 PM

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

AutOPSY 03-27-2004 04:51 PM

/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 .

tangman 03-27-2004 05:02 PM

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 :(

tangman 03-28-2004 01:36 AM

HELP!!

Mara 03-31-2004 03:02 PM

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?


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