How to generate an SSH key pair in Mac OS?
You can generate a key in Mac OS using the ssh-keygen command. You should run it in Terminal. You will be asked for a file in which the key should be saved to and for a passphrase (password) for the key:
user@localhost: ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/Users/user/.ssh/id_dsa): id_dsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_dsa.
Your public key has been saved in id_dsa.pub.
The key fingerprint is:
This will create a private key written to ~/.ssh/id_dsa and a public key written to ~/.ssh/id_dsa.pub. The passphrase is used to protect your key. You will be asked for it when you connect via SSH.
Was this answer helpful?
To change the timezone on your Dedicated server first you need to login as root via SSH. Next,...
You can use the following command to copy the content of your home folder on the server to a...
Once you have logged in to your dedicated server as root via SSH, type the following...
First you should generate an SSH key pair on your Mac OS. Then you need to load...