After creating my rails project, pushing it into the GIT repo, was not able to push it to Heroku. When I run the command:
git push heroku master
I get this error:
ssh: connect to host heroku.com port 22: Bad file number
fatal: The remote end hung up unexpectedly
Am not behind a firewall, proxy or vpn.. I have run
heroku status
and it is working fine.
I have even made sure ssh is working fine with Git. and run
ssh -vT git@github.com
and it run successfully
I run
telnet heroku.com 22
and it failed
connecting to heroku.com .. could not open connection to the host, on port 22:Connect failed
Also run and failed
ssh git@heroku.com
ssh: connect to host heroku.com port 22: bad file number