Home > Uncategorized > SSH Password-free Login

SSH Password-free Login

November 11th, 2007 Leave a comment Go to comments

SSH remote login without a key is fairly straightforward, here‘s one of many how-tos.

But the part I often forget is to set the permissions of ~/.ssh to 700 and authorized_keys to 600. More permissive settings, i.e. 775, will cause key-based login to fail.

In brief, generate a personal private/public key pair using ssh-keygen. Copy theĀ  public key the remote system’s .ssh/authorized_keys file. You can now SSH to the remote systems without using a password.

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.