Easy SSH Login
Here is a simple way to setup key (password-less) login on Unix-like systems.
Once you’ve configured SSH locally, add your public key to remote hosts using the following command:
ssh-copy-id remote_machine
After answering the password prompt, your public key will be appended to the remote ~/.ssh/authorized_keys2.
Remember to make sure the remote folder ~/.ssh is set to mode 0700 and ~/.ssh/authorized_keys2 to 0600, or auto login will be disabled.
Recent Comments