Backgroud
cd / (windows root directory)
cd /c (c drive)
https://docs.rightscale.com/faq/How_Do_I_Generate_My_Own_SSH_Key_Pair.html
Open git-bash or power shell type
ssh-keygen -t rsaEnter file in which to save the key (/Users/YourUser/.ssh/id_rsa):
Created directory '/Users/tony/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/YourUser/.ssh/id_rsa.
Your public key has been saved in /Users/YourUser
/.ssh/id_rsa.pub.vim /c/Users/YourUser/.ssh/id_rsa
copy this to git/settings/ssh keys -> new ssh keys
No comments:
Post a Comment