SSH Password-free Login
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
Recent Comments