Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssh not allowing root login

Status
Not open for further replies.

bcascott

MIS
Sep 25, 2003
4
US
OS: Solaris 8
ssh version : 3.1

Most systems allow ssh root logins but a small number do not. The /etc/default/login CONSOLE entry allows root login. After typing in root's password the password prompt comes right back. Any ideas would be appreciated.
 
Hi,

Check you sshd_config file. By default ssh not allow root login. Its not a good idea. Anyway, if you want to allow root user using ssh, you must uncomment line "Permitrootuser = yes".

dbase77
 
That's it. Thank you very much. I didn't look thoroughly enough.

P.S. You are right about not allowing root to log in but this is a test environment.
 
Don't forget to restart your SSH server after changing the configuration...
Example : In case of OpenSSH, just type : pkill -HUP sshd
Bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top