![]() Ĭould you check in your bash session (so not CMD) what value your $HOME environment variable is set? ~/. Your public key has been saved in /c/Users/VonC/.ssh/id_rsa.pub. Your identification has been saved in /c/Users/VonC/.ssh/id_rsa. > Generating public/private ALGORITHM key pair. ssh-keygen -t rsa -b 4096 -C '' ssh-keygen -t rsa -b 4096 -C '' This creates a new SSH key, using the provided email as a label. That will create a %USERPROFILE%\.ssh\mykey and %USERPROFILE%\.ssh\mykey.pub.Īs a test, I just created my key without any problem (Seven Ultimate 64bits, msysgit 1.6.gcd48) $ ssh-keygen -C -t rsaĮnter file in which to save the key (/c/Users/VonC/.ssh/id_rsa):# just press enterĮnter passphrase (empty for no passphrase): Paste the text below, substituting in your GitHub AE email address. Open a terminal and enter the following command: ls -al /.ssh If you've already generated SSH keys, you should see output similar to this: -rw- 1 username username 1766 idrsa -rw-r-r- 1 username username 414 idrsa. ![]() You can use (from CMD or bash) ssh-keygen -C -t rsa -P "" -f ~/.ssh/mykey Make sure you do not have a Windows environment variable named HOME, which would take precedence when using ssh.exe or ssh-keygen.exe commands from a CMD session (as opposed to a bash session). You can start with creating the expected folder, and check you can access it: mkdir "%USERPROFILE%\.ssh"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |