![]() ![]() The command displays two files, one for the public key (for example id_rsa.pub) and one for the private key (for example, id_rsa). ![]() You should see something like the following: Your public key has been saved in /c/Users/emmap1/.ssh/id_rsa.pub. Your identification has been saved in /c/Users/emmap1/.ssh/id_rsa. The whole interaction looks similar to this:Įnter file in which to save the key (/c/Users/emmap1/.ssh/id_rsa):Ĭreated directory '/c/Users/emmap1/.ssh'.Įnter passphrase (empty for no passphrase): The command creates your default identity with its public and private keys. Enter and re-enter a passphrase when prompted. For example, to create a key called my-new-ssh-key, enter the Windows path, shown here:Įnter file in which to save the key (/c/Users/emmap1/.ssh/id_rsa): c:\Users\emmap1\.ssh\my-new-ssh-keyģ. To create a key with a non-default name or path, specify the full path to the key. You will be asked for the passphrase of your key when loading it in the Terminal.We recommend keeping the default key name unless you have a reason to change it. Load the private key in your Terminal using the ssh-add command: ssh-add /home/user/.ssh/id_rsa This will create a private key written to /home/user/.ssh/ id_rsa and a public key written to /home/user/.ssh/ id_rsa.pub.Īfter that you will have to upload the public key in Site Tools > Devs > SSH Keys Manager, go to Import and paste the key. Your identification has been saved in id_rsa. Below is an example of the entire process:Įnter file in which to save the key (/home/user/.ssh/id_rsa): This is the password required to use the private key.Įnter passphrase (empty for no passphrase):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |