I'm following the section for creating an SSH key and I entered the command
ssh-keygen -t rsa -C "my email"
Next I'm prompted for a filename and the instructions say to just hit enter for the default.
Well instead of a default location like c:\user\ASUS my location is /h//.ssh/id_rsa
And if I search for a key by going to that directory with cd %userprofile%/.ssh there is no directory found.
What am I doing wrong here?
Your key should be under H:\.ssh (/h//.ssh... is UNIX style path that Git Bash is using). Make sure your File Explorer setting is set to show hidden files, folders and drives.
What makes it decide to use H: ? I would think the key would be stored locally on my hard drive. In any case I do see the key file and will stumble onward.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H: is used probably because your home drive is set to be that. Usually setting the home drive is something that your IT department sets in a login script. It can be overridden by setting the HOME environment variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.