Linux Password Less Authentication (rsa key file)
# Create key pair ssh-keygen -t rsa -b 4096 -f ~/.ssh/username # Add the public key to the `authorized_keys` file cat ~/.ssh/username.pub >> ~/.ssh/authorized_keys chmod 700 ~/.ssh # Set the directory permissions chmod 600 ~/.ssh/authorized_keys # Set the file permissions