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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:55:14+00:00 2026-06-13T12:55:14+00:00

So I’m now jononomo on github. A year ago, however, I was zononomo. I

  • 0

So I’m now “jononomo” on github. A year ago, however, I was “zononomo”. I quit software for a while and bought a new laptop in the interim. Then I came back and created a new account on Github under the handle “jononomo” and now I’m trying to sync my dotfiles between my two laptops. From my new laptop I created a git repository and pushed it up to github where it can be viewed under the “jononomo” account. Then I went to my old laptop and cloned this repository. Everything worked as expected.

Then I made some changes to my dotfiles on my old laptop and now I’d like to push these changes to github so that I can then pull them down to my new laptop. The problem is that when I run the command:

git push origin master

I get the error message:

ERROR: Permission to jononomo/.dotfiles.git denied to zononomo.

The first thing I did was blow away my old SSH keys in ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub. Then I generated new SSH keys and added my new public key to my jononomo github account. But that didn’t fix the problem. If I run the command:

ssh -T git@github.com

I get the response:

Hi zononomo! You've successfully authenticated, but GitHub does not provide shell access.

Next, I followed the solution given here: https://stackoverflow.com/a/8152291/1701170 This person suggested that I create a ~/.ssh/config file with the following contents:

Host github-jononomo
    User git
    Hostname github.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_dsa.pub

and then he suggested I run the command:

git remote set-url origin git@github-jononomo:jononomo/.dotfiles.git

I tried that, but it didn’t fix my issue. I’m still getting the message:

ERROR: Permission to jononomo/.dotfiles.git denied to zononomo.

Incidentally, my .gitconfig has the following contents:

[user]
    name = Jon Crowell
    email = me@myemail.com
[github]
    user = jononomo
    token = 2a18a7235746324aefec34b234aa343a
    email = me@myemail.com
[credential]
    helper = osxkeychain
  • 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-13T12:55:15+00:00Added an answer on June 13, 2026 at 12:55 pm

    zononomo? GitHub shouldn’t recognize you as zononomo anymore.
    Maybe you have an ssh agent delivering your old key?

    As suggested in “Having Trouble Switching Github accounts on terminal“, add the line:

     IdentitiesOnly yes
    

    to your config file and see if GitHub is still using that old id.

    however I’m still getting the

     ssh: Could not resolve hostname github: nodename nor servname provided, or not known error
    

    The “hostname” to resolve must match the Host entry of the config file.

    If that Host entry is github-jononomo, you must use it in your ssh address as well:

    git remote set-url origin github-jononomo:jononomo/.dotfiles.git
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but

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.