-
Notifications
You must be signed in to change notification settings - Fork 382
Windows getting started notes
-
Downloaded and installed heroku-toolbelt.exe
-
Instead of using toolbelt generated key, I generated a key with "puttygen" from Putty.
-
heroku keys:add doesn't work. "The key was invalid" Key looks like this: ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "rsa-key-20140702" AAAAB3NzaC1yc2EAAAABJQAAAQEAukmSsEc1eozc7isUEyDPw3RSU8RAYcBnQ249 TD/Fv9hTuNE7zHeFaePZavf+6LPmPrkDhBinankKe7P8/XiwyhQh9oQydIwTxPQi SvI/tXbata9NT9G0AXldnxpmPfg5elHv6/lX1xR/DYwgjkc7hBex/ToNgho8iHht uBl8jmdLTWrgeHpVWUhFpLz79QBTB5c5SXJNXUMv+bRLwBBF7eQiAQpdKZDDxOvj 4+aDUvFOakMLUlgGwyHEw5dytWeigSbPfU1j2HlomjZiBIcXdITJML525UrDQSPD 7pwsD/ElWTi4FGcxGwwjEpU45Dc8GMxQxJa06J6uWIOtbb6W8Q== ---- END SSH2 PUBLIC KEY ----
-
Tried to use
heroku keys:add
to generate a new key, it fails with "ssh-keygen" not recognized. I'm not running cygwin, so this isn't too surprising. -
Installed OpenSSH for Windows from
http://sourceforge.net/projects/sshwindows/?source=dlp
. Now ssh-keygen is available, and nowheroku keys:add
works. The key it generated looks like: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvVpytj37UYjOcKXnk81zTnvRj2S4j1yDRfrP9f0q7sxt KTPiCSDStgPS7mgKZ8UzOKsRgxcJblgDKKJzZju1y8uDN3io7dFFluLvnsvKx75TLxOxlwiQG921r3Zx qpQQ5NU3frTwqs6DruszHSNTjXyb3rqQB7XeJNzm0uSiBds= IEUser@IE10Win7basically the 1 line version.
-
Ah, now went back to
puttygen
and hand-copied the "OpenSSH compatible" key text into Notepad and saved. This one works withheroku keys:add
.