Results 1 to 4 of 4

Thread: ssh host name different IP address

  1. #1
    Join Date
    May 2020
    Beans
    2

    ssh host name different IP address

    I am having issues when trying to ssh into my university hostname. After I start my laptop and login (ubuntu 18.04) i can successfully ssh if i try immediately after login. But after 10-20 seconds if i try to ssh again it doesn't respond and eventually times out. When i try with -vv option i notice that the IP address has changed. Why does the hostname IP address change few seconds after login into my ubuntu?

    To summarize, it works if i try ssh-ing immediately after starting my laptop but after few seconds the hostname starts pointing to a different IP address that hangs and times out. This behavior started only few days ago.

  2. #2
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,790

    Re: ssh host name different IP address

    It means that you have a lame DNS configured in your router. Test the resolvers with 'nslookup' and 'dig' and check the configuration of your gateway router.

  3. #3
    Join Date
    May 2020
    Beans
    2

    Re: ssh host name different IP address

    Thank you Herman. I restarted my router and the problem disappeared. All good now

  4. #4
    Join Date
    May 2010
    Beans
    3,242

    Re: ssh host name different IP address


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •