Would like to be able to push to, and clone from, Heroku without the toolbelt.
I've got Win10x64, Rails 2.4.4, Ruby 2.2.3
Would like to be able to push to, and clone from, Heroku without the toolbelt.
I've got Win10x64, Rails 2.4.4, Ruby 2.2.3
The answer is to link to Heroku using ssh
:
git
push
/clone
from Heroku--
This answer helped get it working: https://serverfault.com/a/198709/241166
You have to set the HOME
path of your ssh
before performing ssh-keygen -t rsa
(this actually doesn't seem to be the case; you should be able to browse to the required output folder & run ssh-keygen -t rsa
):
ssh
has its keys in c:/Users/[username]/.ssh
by default.
This will set the .pub
file, which you'll be able to open using a text editor (notepad
will do):
You then need to copy the contents of the generated .pub
file to Heroku's Account Settings
option:
If you need to remove Heroku
from known_hosts
, you'll want to use:
ssh-keygen -H -F heroku.com
ssh-keygen -R heroku.com
--
Next, you need to authenticate with Heroku.
ssh -v git@heroku.com
This should then allow you to connect via SSH to Heroku from that system.
It may say a permission denied error - you should be able to ignore that, cd
to the folder where the git
repo is stored, and perform push
/ commit
:
That's how to connect via SSH to Heroku on Windows :)