Link to home
Start Free TrialLog in
Avatar of Williams225
Williams225

asked on

Urgent : Account Can't login on ssh (linux)

Hi,

an account can't login on the  server via ssh. what can i do?? what are the different steps to troubleshoot it on linux.

the account is a service account used by an application.
Avatar of gnurl
gnurl
Flag of Germany image

Hi, try
ssh -vvv <user>@<host> to get more information about the problem.

Check the log files an the server itself maybe /var/log/messages..


Good luck

gnurl
Avatar of balasundaram_s
balasundaram_s

That account (user id) might be expired, check using the following command

# chage -l  userid

Use 'man chage' for more info.
If the connection is being established, consult /var/log/auth* or /var/log/secure* for details.
Avatar of Williams225

ASKER

question :

@balasundaram : If the user account is expired , what is the command to reactivate it.
chage -d currentdate username
i can't see the informations when i use chage. May be because its a service account
ASKER CERTIFIED SOLUTION
Avatar of KishorDas
KishorDas
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial