• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

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.
0
cismoney
Asked:
cismoney
1 Solution
 
gnurlCommented:
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
0
 
balasundaram_sCommented:
That account (user id) might be expired, check using the following command

# chage -l  userid

Use 'man chage' for more info.
0
 
parparovCommented:
If the connection is being established, consult /var/log/auth* or /var/log/secure* for details.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
cismoneyAuthor Commented:
question :

@balasundaram : If the user account is expired , what is the command to reactivate it.
0
 
hossamshaabanCommented:
chage -d currentdate username
0
 
cismoneyAuthor Commented:
i can't see the informations when i use chage. May be because its a service account
0
 
KishorDasCommented:
For most of the service account, they are configured with no login shell, when you are trying to have a remote login, that is why it creates problem. Assign a login shell for that user account and then retry.

Thanks.

Kishor Kumar Das
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now