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 9226847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:55:38+00:00 2026-06-18T04:55:38+00:00

I am trying to git clone something but I am getting a permissions error,

  • 0

I am trying to git clone something but I am getting a permissions error, I have setup git with the rails installer here so not sure what to do here.

Anderss-MacBook-Pro:tmp anderskitson$ sudo git clone git@github.com:mhartl/rails_tutorial_sublime_text.git
Cloning into rails_tutorial_sublime_text...
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Anderss-MacBook-Pro:tmp anderskitson$

I am also getting this output when running ssh-add -l

Anderss-MacBook-Pro:Packages anderskitson$ ssh-add -l
The agent has no identities.

Content of ssh

Anderss-MacBook-Pro:.ssh anderskitson$ ls
known_hosts
Anderss-MacBook-Pro:.ssh anderskitson$ 
  • 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-06-18T04:55:40+00:00Added an answer on June 18, 2026 at 4:55 am

    This guide should help you: https://help.github.com/articles/generating-ssh-keys

    You need to generate an SSH private/public key combo and add it to github before trying to clone.

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

Sidebar

Related Questions

I'm getting this strange error message when trying to clone or pull from git.
i am trying to clone a project from git bash, but receive an error.
I am trying to setup git for automatic deployment. Here is what I am
I'm trying to run git clone and am receiving the following error: fatal: Out
I was getting a confusing error message after trying git pull about no matching
I am trying to git clone the LibreOffice codebase, but at the moment I
I'm getting permissions errors while trying to deploy my rails app to a friend's
I'm trying to set pu my git, but I have a little problem with
I'm trying to use git on windows to clone a remote repository. I can
In the code below I am trying to clone a git repository to another

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.