1751907 Members
4903 Online
108783 Solutions
New Discussion

Can not loggon

 
Chhaya_Z
Valued Contributor

Re: Can not loggon

Hi,

If we would have been logged in to any terminal we could have checked the /etc/inittab file, if the getty service running on all the runlevels. And also checked for the package and the command.

As of now I am not able to think of any other choice.
Regards,
Chhaya

I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
Nils_9
Advisor

Re: Can not loggon

Hi,

some random ideas :
- if PermitRootLogin is set to "yes", you can still try to scp or sftp /bin/bash from another Debian server (versions must be the same)
- try using another shell by specifying it on the command line, for example, I would try 'ssh root@crashedserver.mydomain.com /bin/sh' or 'ssh -t root@crashedserver.mydomain.com /bin/sh'; I used /bin/sh but you can try /bin/csh ou /bin/tcsh depending on what command interpretor is installed on your system and which one you feel comfortable with.

Hope this helps !

Nils