Operating System - HP-UX
1819870 Members
2645 Online
109607 Solutions
New Discussion юеВ

Not able to login as root user using putty SSH

 
Shivaji_1
Occasional Advisor

Not able to login as root user using putty SSH

I configured the ssh. sshd daemon is running. On Windows client using PUTTY i am trying to login as root using ssh port 22 but it gives following error

login as: root
root@xyz.in.ibm.com's password:
Access denied
root@xyz.in.ibm.com's password:

Anyone knows the solution for this. Please help me.

5 REPLIES 5
Con O'Kelly
Honored Contributor

Re: Not able to login as root user using putty SSH

Hi

Check the sshd_config file on the server (/opt/ssh/etc/sshd_config).
Its likely the following parameter is set:
PermitRootLogin no

You need to set to yes to allow direct root login.

Cheers
Con
Shivaji_1
Occasional Advisor

Re: Not able to login as root user using putty SSH

RootLogin parameters is Yes Still faceing the problem.
Elmar P. Kolkman
Honored Contributor

Re: Not able to login as root user using putty SSH

You might check out the logging (syslog or sshd's special log files) for info on why it doesn't allow root to login.

And it's better to login with a normal user and do a su when you really need root access.
Every problem has at least one solution. Only some solutions are harder to find.
Fred Ruffet
Honored Contributor

Re: Not able to login as root user using putty SSH

Are you able to connect as root with other program than Putty ? For example, can you log on root from the server to itself with ssh ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Gavin Clarke
Trusted Contributor

Re: Not able to login as root user using putty SSH

What version of putty are you using? We had trouble with 5.2 which was fixed by getting 5.6.