Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×
Let's start with one of the basics. If you log into a remote machine frequently, you might be tired of typing your password over and over again. You can set up SSH so that you can authenticate without typing a password.
First, you'll need to create an authentication key for SSH. This will actually consist of a key pair: a private key and a public key. To create your keys, run the command:
ssh-keygen -t dsa
The link for this article located at Linux.com is no longer available.