SSH Without A Password

Zach has posted a good quick reference for setting up SSH to use a shared key for authentication instead of a password on a UNIX system. It’s important to keep your keys secure, but this can allow you to set up scripts to execute commands or move files between multiple hosts without prompting for passwords.

If memory serves this type of authentication is enabled by default on most ssh servers, but if it doesn’t work talk to your sys-admin to see if it is disabled.

unix, linux, solaris, mac osx, osx, ssh, security

6 thoughts on “SSH Without A Password”

  1. A little? I guess that’s what happens when you forget to close quotes in a link.

    Link fixed. Sorry everyone.

  2. I’d be surprised to find key authentication disabled as it’s more secure than password authentication. If anything, I would expect password auth to be disabled – in fact, I’ve done this on my home server to help deter script kiddies from doing password attacks.

  3. Good point Marc. Now that you mention it, some of the information we send between colleges is done over SSH where passwords are disabled.

  4. you can connect the through ssh w/o entering password using ssh-key gen and copy the public key into the other servers.

    regards …nikunj..system Engineer-UNIX…India.

Leave a Reply

Your email address will not be published. Required fields are marked *