• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Unable to login as root in ssh

Trojan

Member


Messages: 25

#51
phoenix said:
And what shows in /var/log/auth.log on shlus after you try to login?
Code:
May  7 11:43:13 shlus sshd[813]: error: PAM: authentication error for root from 
localhost
May  7 11:43:22 shlus last message repeated 2 times
 

Dryanta

New Member

Thanks: 1
Messages: 7

#52
Essentially, unless you are playing with pam modules and alternative logon methods there are three possible problems.

1: You did not make the correct change in /etc/ssh/sshd_config.
2: You did not use the rcfile or kill to restart the daemon.
3: You are fat-fingering your password.
 

Trojan

Member


Messages: 25

#53
Finally I solved the issue with ssh login under root.
In my case the problem was that parameter "AllowRootLogin yes" wasn't uncommented and it was my fault of course. I uncommented this parameter and now it's OK.
Do excuse me please for misleading and ty for trying to help me.
 

jackfree

New Member


Messages: 1

#54
remote login using ssh

i have tried to remote login into freebsd 7.1, but it is throwing PAM: authentication error for root. I have only one login that is root. No other user i have created since i am only using. I am not able to login through putty or winscp?

Please tell me any solution how to recover.:(