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 |
You may have root login forbidden. Check /etc/ssh/sshd_config for 'PermitRootLogin' line. Is it set to 'yes' or 'no'?
|
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. :( |
check /etc/securetty
for terminals ptys that root can login from. |
Quote:
|
/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 . |
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 :( |
HELP!!
|
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. |