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

  • Home
  • SEARCH
  • 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 3844242
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:03:31+00:00 2026-05-19T16:03:31+00:00

Heroku refuses to accept my public key which I generated using puttygen. I tried

  • 0

Heroku refuses to accept my public key which I generated using puttygen. I tried looking for answers using Google, however the solution of copying the key rather than saving it through puttygen did not solve my issue.

L:\>heroku keys:add "[path]\.ssh\id_rsa.pub"
Uploading ssh public key [path]\.ssh\id_rsa.pub
Enter your Heroku credentials.
Email: [email]
Password:
Uploading ssh public key [path]\.ssh\id_rsa.pub
 !   Contents Invalid public key

I’ve tried generating several key pairs in case just one was unacceptable and none of them have worked.

  • 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-19T16:03:32+00:00Added an answer on May 19, 2026 at 4:03 pm

    you might try doing a cd to the .ssh directory, and just doing
    heroku keys:add id_rsa.pub

    check the timestamp of the key to make sure that it is the one you just created, the contents of the file should look something like:

    ssh-rsa AAAAB3NzaC1kc3MAAACBAIEn8LFH1EaFETOehebaqMR+RaJOTv6BKR6fPcdGqB5d5Hdzsok1PDrXFxRdvmbPfgrMJUFkgXX2917432Lxv8LzthwgWKSnDvtN9kE0A6Mj82pnZMeyf+fCZMvnfb5w70iz6dNVLbDSO3nt65kIeE6cTQsrH+1/PTLjsyJnAWllAAAAFQCEYdQipgY7mdDppo2UqT1XdQeWcQAAAIAcE3w/8CZhkztV9+/R5N56QB4WAIen/fV3AjTHfVVNvhuiSTSst2wRpOEK27wVUz0k0otgUwnpjNt4ECwYj/5a+FXbIKCdcMEHAslCZPQ1R1Q9svrdjKpyw3S/V41OyPMAovfXoJeigfj2DGaStQ8RUFeVm2dpM0+/fodUWf//teJsNRqmGcREq8oz7yFGMHpY5/te4MuVyCMqqlsA8jwAAAIBysaWrJqthkoWfqZ6I4n3Ge7ynoziwjefsllqqkdd++6H7DZKHWybBl985yjuYL5yT9k9sbBgKaOHdp2lo9Kn/pX7Pn87mHNC4BKd+rXkCH5ufFg== bulbous@-mac.local

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

Sidebar

Related Questions

gem install heroku failed with following message and I have tried the solution here
I'm running a MySQL database locally for development, but deploying to Heroku which uses
Using Delayed Jobs on Heroku. How would I (easily) monitor the results of this
I'm using Heroku and would like to have a script (on another server) called
I'm using heroku as my host..It was working fine. Then I installed action_mailer_tls and
I'm using Heroku, and have added a couple custom domains for my app, i.e.
I am using Heroku bamboo-mri-1.9.2 with Amazon RDS database. My app do crash on
Google has indexed my Heroku app subdomain: myapp.heroku.com Is it duplicate content? How should
Heroku seems great, but most non-trivial applications require authentication, and conventional authentication schemes require
Heroku made all its apps upgrade to the latest version of bundler (0.9.4). I

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.