If you want want to log into RHEL using PUTTY and it shows "Access denied" , How to fix this ?
Follow Simple Troubleshooting Steps : -
1. # First ping x.x.x.x from the machine.
2. Then log in to RHEL using root user.
then use following command
3. # vim /etc/ssh/sshd_config
sshd_config -- OpenSSH SSH daemon configuration file
find (/GSSAPIAuthentication) press i to edit and then
then >> set GSSAPIAuthentication No
if GSSAPIAuthentication yes then it will not allow you to login to your RHEL server.
if GSSAPIAuthentication yes then it will not allow you to login to your RHEL server.
then finally restart sshd.
4.
# /etc/init.d/sshd restart or
# service sshd restart
if you are still facing problem ... then check allow users and root are permits .
Also check ..
PermitRootLogin yes
AllowUsers admin admin2 user2 user1# /etc/init.d/sshd restart or
# service sshd restart
if you are still facing problem ... then check allow users and root are permits .
Also check ..
PermitRootLogin yes
No comments:
Post a Comment