heroku/heroku — Issue #231: Exception when trying to create SSH key when one already exists
Author: Spooner
Created: 2012-02-09 13:56:30+00:00
State: open

`Could not find an existing public key.
Would you like to generate one? [Yn] y
Generating new SSH public key.
Uploading ssh public key C:/Users/Spooner/.ssh/id_rsa.pub
C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:195:in `read': No such file or directory - C:/Users/Spooner/.ssh/id_rsa.pub (Errno::ENOENT)

from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:195:in `associate_key'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:168:in `associate_or_generate_ssh_key'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:155:in `check_for_associated_ssh_key'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:150:in `ask_for_and_save_credentials'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:71:in `get_credentials'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/auth.rb:19:in `login'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/command/auth.rb:12:in `login'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/command.rb:129:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/lib/heroku/cli.rb:9:in `start'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/heroku-2.19.2/bin/heroku:15:in
`'
from C:/Ruby193/bin/heroku:19:in `load'
from C:/Ruby193/bin/heroku:19:in `

'`

C:/Users/Spooner/.ssh/id_rsa.pub already exists and contains my Github key.

(Windows 7 / Ruby 1.9.3)