Reputation: 9431
I am using MacOs Lion.
I installed the heroku CLI.
I was able to successfully login: heroku login
I created a node.js app and got the git repo url. However when I run:
git clone [email protected]:potrerosanluis.git -o heroku
Cloning into potrerosanluis...
ssh: connect to host heroku.com port 22: Operation timed out
fatal: The remote end hung up unexpectedly
I then ran: heroku keys:add
thinking it could be some problem with the ssh key. However problem still persists.
I am new to heroku, git. Any idea what the problem is?
Upvotes: 1
Views: 2657
Reputation: 9431
Got it to work. I had not generated the ssh-key when I first logged in. Just followed the steps here to create and register a new ssh-key and it worked.
Upvotes: 1