How do I set up public-key authentication for an external SSH client?
The steps for setting up public-key authentication vary depending on your SSH client. However, they all follow this set of common steps: • Use the client program (or a utility that came with it) to generate a public/private key pair. This program might be called ssh-keygen or puttygen.exe. • Copy the public key to the server. This is often done by pasting the public key into the file /home/user/.ssh/authorized_keys.