I'm following this to generate a ssh key on windows 8.1, but if I press enter key when asked to enter file in which to save the key I get error could not create the directory '//.ssh'
now if instead of pressing enter I enter "id_rsa", then after doing clip < ~/.ssh/id_rsa.pub
, I get The system cannot find the path specified
.
Is there any way around this? I can switch to ubuntu but I want to do this on windows.
Open a terminal and use the ssh-keygen command with the -C flag to create a new SSH key pair. Replace the following: KEY_FILENAME : the name for your SSH key file. For example, a filename of my-ssh-key generates a private key file named my-ssh-key and a public key file named my-ssh-key.
On the Start Menu of your computer, select Git -> Git GUI. To generate a new public-private key pair, open the Help menu and select Show SSH Key.
Create a SSH key First launch a PowerShell window. Inside PowerShell, run the ssh-keygen command. The -t parameter tells OpenSSH what type of SSH key should be created.
The best way to find your ssh keys is:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With