Sunday, May 25, 2014

Log in failed to RHEL Server using PUTTY : shows "Access denied"


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. 
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







No comments:

Post a Comment

Featured Post

Managing CA Certificates on Red Hat Linux 9: Understanding update-ca-trust extract

  Managing CA Certificates on RHEL9 RHEL8 OracleLinux9 OracleLinux8 In today's digital landscape, securing communications and verifying ...