While I am trying heroku login
through cmd in my machine, it says
Could not find existing public key
Would you like to generate one? [
For Win7 64-bit users, the file %HerokuPath%s\bin\ssh-keygen.bat
looks like:
@SETLOCAL
@SET HOME=%USERPROFILE%
@"%HerokuPath%\..\Git\bin\ssh-keygen.exe" %*
But Heroku installs Git in Program Files (x86)
, so if you update the .bat
file to:
@SETLOCAL
@SET HOME=%USERPROFILE%
@"C:\Program Files (x86)\Git\bin\ssh-keygen.exe" %*
Then you should be able to generate your ssh keys.