Windows 10 SSH keys

后端 未结 11 1781
难免孤独
难免孤独 2020-12-12 14:57

I am having a really hard time getting my SSH keys up and running after installing Windows 10. Normal method is create it and throw it in the user\'s account under .ssh. T

11条回答
  •  没有蜡笔的小新
    2020-12-12 15:09

    Create private/public key:

    1. Open up terminal (git bash, PowerShell, cmd.exe etc.)
    2. Type in ssh-keygen
    3. Press enter for default file save (~/.ssh/id_rsa)
    4. Press enter for default passphrase (no passphrase)
    5. Press enter again
    6. Look at the output and make sure that the RSA is 3072 or above

    You have now created a private/public key pair.

    For GIT the key must have a strength of 2048, must be located in the users .ssh directory and be called id_rsa and id_rsa.pub. When pasting the keys anywhere make sure to use a program that does not add new lines like VIM.

提交回复
热议问题