How to Create SSH Certificate
- 1). Open your SSH terminal program on your local machine. You may need to install SSH software on your local machine if it not already present.
- 2). Generate an SSH key pair by typing "ssh-keygen -t dsa" and pressing the "Return" key.
Leave the default filename of "id_dsa." - 3). Enter a passphrase for the SSH key pair when prompted to do so.
- 1). Locate the SSH certificate files in the ".ssh" folder in your local machine's home directory. They should be called "id_dsa.pub" and "id_dsa."
- 2). Transfer the "id_dsa.pub" file to the remote machine with the scp utility--for example: scp ~/.ssh/id_dsa.pub remotemachine.com:.ssh/authorized_keys2
Replace "remotemachine.com" in the above command with the address of the remote computer on which you have an account. You will be asked for your SSH password. - 3). Log into the remote machine with an SSH connection--for example: ssh username@remotemachine.com
It should allow you in without a password. Your connection is still secure, thanks to the SSH certificate.
Generate an SSH Certificate Key
Upload the SSH Certificate
Source...