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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:21:54+00:00 2026-06-10T03:21:54+00:00

When I do Git push, I get the following error message – Username: Password:

  • 0

When I do Git push, I get the following error message –

  Username: 
  Password: 
  error: The requested URL returned error: 403 while accessing https://github.com/Selvam-T/hw4_rottenpotatoes.git/info/refs

My Git clone read-only address is https://github.com/Selvam-T/hw4_rottenpotatoes.git

I followed the suggestion and changed the repo config to ssh way like this –

git remote set-url origin ssh://git@github.com/Selvam-T/hw4_rottenpotatoes.git

Then the error message I got, when I did “git push origin master”, is this –

  ssh: Could not resolve hostname github.com:Selvam-T: Name or service not known
  fatal: The remote end hung up unexpectedly

How can I fix either one of those communication issue?

  • 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-10T03:21:56+00:00Added an answer on June 10, 2026 at 3:21 am

    You can use https or ssh address to push.

    But for https, you need a ~/.netrc (or %HOME%\_netrc on Windows, which supposes you have defined a HOME environment variable), with your GitHub credentials in it.
    See “Syncing with github” or “need github without username and password” for an example.

    And for ssh, you need a private / public keys in ~/.ssh, with the public key published to your repo and a ~/.ssh/config file.
    See “Why doesn’t my SSH key work for connecting to github?” for more.

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

Sidebar

Related Questions

When I try and push a change I've commited, I get the following error
Everybody, I get an error when I run this command: git push heroku master.
I'm following along with the railstutorial.org, and when I get to the git push
After pushing to a git repo, I got this error: [trusktr@starlancer bml]$ git push
The command to remove a remote branch in git is the following git push
I did push origin master and after that I have an error: $ git
UPDATE: this error is shown during git push heroku master : -----> Preparing app
I have tried the following command unsuccessfully: git push 12.12.12.123:/proj.git master It asks my
I tried to push my code to github by using the following commands: git
What would possibly cause a 'git push' to try and commit to two branches?

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.