I am in a class that is asking us to put our ruby on rails app on Heroku. They gave us step by step instructions to set up on Heroku, which I followed. I can login to heroku from the command line, but when I try to push my app to it, I get this:
Read from socket failed: Connection reset by peer
fatal: The remote end hung up unexpectedly
I've pinged the server, which worked. I've tried restarting, coming back after a day, recreating the app, which worked fine. I checked to make sure I have Heroku tool-belt. I've spent hours searching google. I have yet to find a solution.
upon running ssh -vvv mylogin@heroku
i got
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
ssh: Could not resolve hostname heroku: Name or service not known
upon running ssh git@heroku.com -T
i got
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Permission denied (publickey).
so I tried git push heroku master
again and got
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Any ideas?