Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3305172
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:08:22+00:00 2026-05-17T21:08:22+00:00

When I attempt to push to my heroku.com remote git repository, i get this

  • 0

When I attempt to push to my heroku.com remote git repository, i get this message:

ssh: connect to host heroku.com port 22: Connection refused

I can easily work with my repository on github with the same ssh key.

Entering:

$ssh git@github.com    #outputs: success message
$ssh git@heroku.com    #outputs: ssh: connect to host heroku.com port 22: Connection refused

I’m on Mac OS 10.6. And I’m very clueless slowly learning!

UPDATE:

$telnet heroku.com 22

gives this output:

Trying 75.101.145.87...
telnet: connect to address 75.101.145.87: Connection refused
Trying 75.101.163.44...
telnet: connect to address 75.101.163.44: Connection refused
Trying 174.129.212.2...
telnet: connect to address 174.129.212.2: Connection refused
telnet: Unable to connect to remote host
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:08:23+00:00Added an answer on May 17, 2026 at 9:08 pm

    Connection refused is a TCP error message saying that that server isn’t running a service on that port. In this case, perhaps heroku.com’s SSH server wasn’t running.

    If you haven’t given them your key, or you use the wrong private key, ssh will say something like this:

    frank@roke$ ssh git@heroku.com
    Permission denied (publickey).
    
    frank@roke$ ssh -i ~/.ssh/roke-frank.priv git@heroku.com
    Permission denied (publickey).
    

    (And the above messages indicate that right now heroku’s SSH server is indeed running.)

    Since you’re not able to connect to the same server to which I can, perhaps there’s a firewall issue. Are you behind a NAT? Does your gateway permit connections to port 22 on remote machines?

    That machine runs a web server too, so try telnet heroku.com 80 to see if you can connect to that machine at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The situation is this: I have more than one remote repository - for reference,
If I attempt to connect to Mac OS X 10.5 Leopard's built in vnc
This is an attempt to rephrase a question I asked earlier. I'd like to
This is a pretty straight forward attempt. I haven't been using python for too
This is my first attempt at using JSCookMenu and its homepage ( http://jscook.yuanheng.org/JSCookMenu/ )
This is my first pathetic attempt at C++. I did an array based stack
This is my second attempt at a php contact form using Jquery and php
I am using this slice of code (shown below) in an attempt to populate
In an attempt to add some parameter validation and correct usage semantics to our
When you attempt to declare an unsigned variable in C#.NET with a value outside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.