SSH Configuration fails

5 pts.
Tags:
Red Hat Enterprise Linux
SSH
SSH Configuration
I have configured ssh on Enterprise linux AS release 4 update 4 and when trying to test the ssh configuration it is asking for password, after giving the password it logs into the server which is not desirable when configuring SSH Kindly let me know where could i have gone wrong, i have done the SSH configuration after reading a lot of internet articles.

Answer Wiki

Thanks. We'll let you know when a new response is added.

While there is nothing wrong per se with having password authentication in an ssh connection, for automated connections you will want to have a keypair generated and distributed. Something like the instructions found at http://sial.org/howto/openssh/publickey-auth/

Note that simply having the keys for your user ID does NOT preclude password authentication; to do so, you will have to configure your ssh daemon to disallow password authentication (or allow keyed authentication only; I forget how OpenSSH does it, it’s been so long since I’ve had to set it up from scratch).

On a related note, you will probably want to disallow root to log in via ssh; this is a configurable option in OpenSSH’s config file. Also, you should disallow telnet and plain ftp connections, if you’re looking to lock down your box.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Avskiran2003
    What behavior are you expecting? SSH is like telnet - kinda, except the session is encrypted.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following