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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:53:49+00:00 2026-05-14T08:53:49+00:00

When I set up Git, I did it while using a dsl modem, and

  • 0

When I set up Git, I did it while using a dsl modem, and my ip isn’t static, so when I generated the ssh keys for Git, it was based on that ip.

When I’m assigned an ip other than the one used to generate the ssh Git keys, I can manually change the ip address to the one used to generate the keys. What are my other options to bypass this step? Dynamic DNS? Is there another way?

Update:

OK, so the key isn’t influenced by the ip address. I did a git push origin master and got a not recognized key error and thought it was the ip address. I’ll have to try and regenerate that error.

  • 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-14T08:53:49+00:00Added an answer on May 14, 2026 at 8:53 am

    I should have been clearer in my question, I wasn’t using GitHub – the Git server in question is my own laptop, not GitHub, so it was the server ip that was changing on the whim of the modem/router.

    What I did to resolve this was for each ip, to puttygen a key pair. I then added the public key to the authorized_keys file, kept a copy of the private key for my other machines and did a putty for each ip address to add the key to putty’s cache. Now I just do this for each ip assigned by the modem. A pain, but only once rather than changing ips all the time.

    I do have to update the remote section of the config file in the .git directory to the ip address though. I guess I could add a separate section for each ip address in the remote section based on the ip address, plus a corresponding branch section.

    This was the error I was getting:

    The server's host key is not cached in the registry. You
    have no guarantee that the server is the computer you
    think it is.
    The server's rsa2 key fingerprint is:...
    Connection abandoned.
    fatal: The remote end hung up unexpectedly

    My setup is on Windows 7 and consists of Cygwin (ssh only), msysgit and the putty suite.

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

Sidebar

Ask A Question

Stats

  • Questions 530k
  • Answers 530k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer There are several problems with your benchmarks. First, your benchmark… May 16, 2026 at 11:27 pm
  • Editorial Team
    Editorial Team added an answer @activity.clienships.delete_if{|o| o.client_id == 24} May 16, 2026 at 11:27 pm
  • Editorial Team
    Editorial Team added an answer Ok, I figured this it out. The problem was that… May 16, 2026 at 11:27 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Is it possible to set Git up so that I can use the three-way
My ssh keys are definitely set up correctly, as I'm never prompted for the
I am trying to set up a private repository of Android source code while
i tried to set up git server and deployment server on the same machine
I did git checkout master . If I do git status it shows two
I think my question is somewhat similar to CaptainPicard's but dissimilar enough that I
I'm setting up git on my new Windows 7 machine and I'm hitting a
My colleagues and I are thinking of giving git a try and see if
Basically I thought I could use git for deployment as those rails cloud providers
ssh: Could not resolve hostname C: hostname nor servname provided, or not known fatal:

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.