SSH Configuration fails
5 pts.
0
Q:
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.
ASKED: Jul 7 2009  6:20 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
660 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 Answered: Jul 8 2009  1:29 PM GMT by Sonotsky   660 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Troy Tate   0 pts.  |   Jul 7 2009  6:41PM GMT

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

 
0