Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-23
7
Medium Priority
?
387 Views
Last Modified: 2012-08-14
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
Comment
Question by:cismoney
7 Comments
 
LVL 7

Expert Comment

by:gnurl
ID: 36586248
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
 
LVL 5

Expert Comment

by:balasundaram_s
ID: 36587971
That account (user id) might be expired, check using the following command

# chage -l  userid

Use 'man chage' for more info.
0
 
LVL 9

Expert Comment

by:parparov
ID: 36588299
If the connection is being established, consult /var/log/auth* or /var/log/secure* for details.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:cismoney
ID: 36591486
question :

@balasundaram : If the user account is expired , what is the command to reactivate it.
0
 
LVL 5

Expert Comment

by:hossamshaaban
ID: 36592056
chage -d currentdate username
0
 

Author Comment

by:cismoney
ID: 36598626
i can't see the informations when i use chage. May be because its a service account
0
 
LVL 2

Accepted Solution

by:
KishorDas earned 2000 total points
ID: 36707787
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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question