Need to login without password using ssh

I am using redhat 6.4 and i want to login ssh without password kindly guide me

Use public key authentication, covered intensively in these forums (c.f. links at the bottom of this page). Read man ssh .

Add your public SSH key to the .ssh/authorized_keys file in the users home directory.

If you don't have an SSH key pair, generate one with ssh-keygen. If you give it a password while generating, you'll need to enter that password when logging in, so I'm guessing you'll want to leave that blank.

You also have to make sure permissions are set correctly on various files and folders:

  • Home dir: no more than 755 (not group or world writable).
  • .ssh dir: no more than 755 (not group or world writable). (mkdir -m755
  • authorized_keys file: not more than 644 (not group or world writable)
  • id_rsa.pub (Public key) file: not more than 644 (not group or world writeable)
  • id_rsa (Private key) file: not more than 600 (not group or world readable)