Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I made a few changes to sshd_config now I am unable to login via ssh but able to login in webamin on CentOS 6 based VPS.

The problem is with root as well as user.

I reversed the changes in sshd_config and restarted sshd but no help.

Can anyone let me know how to start ssh and ftp login again without affecting webamin.

The error I get after entering password for ssh is: Permission denied, please try again.

share|improve this question

closed as off-topic by Falcon Momot, Ward, mdpc, dawud, Dave M Sep 15 '13 at 17:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Falcon Momot, Ward, mdpc, dawud, Dave M
If this question can be reworded to fit the rules in the help center, please edit the question.

    
what changes you did in your ssh config file can you paste here sshd_config here. –  Abhishek Anand Amralkar Sep 15 '13 at 6:29

1 Answer 1

up vote 1 down vote accepted

Check the logs on the server - they should provide much more detail than the Permission denied error you are seeing on the client.

  • Debian: /var/log/auth.log
  • CentOS: /var/log/secure
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.