5 pts.
 SSH Configuration fails
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.

Software/Hardware used:
ASKED: July 7, 2009  6:20 PM
UPDATED: July 8, 2009  1:29 PM

Answer Wiki:
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.
Last Wiki Answer Submitted:  July 8, 2009  1:29 pm  by  Sonotsky   680 pts.
All Answer Wiki Contributors:  Sonotsky   680 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

What behavior are you expecting? SSH is like telnet – kinda, except the session is encrypted.

 0 pts.