Quantcast
Channel: Active questions tagged ssh - Ask Ubuntu
Viewing all articles
Browse latest Browse all 529

noble 24.04 ssh after DHCP reservation

$
0
0

When I installed 24.04 on my two machines (let's call them foo1 and foo2), Ubuntu settings has an ssh feature in settings|system|secure shell which would allow me to simply type ssh foo2 from foo1 to access it (on the local network).Since then, I got a shiny new mesh WiFi network and I did some tidying and reserving of IP addresses by reserving them in DHCP on my router.All good.Except that I cannot use ssh foo2 (or ssh foo1 from the other machine) anymore.I get:

ssh foo2ssh: Could not resolve hostname foo2: Temporary failure in name resolution

I assume that when I installed Ubuntu, the hostnames were tied to a local IP address somewhere, but I can't find it - how do I get that functionality back?Edit: Actually, that cannot be correct can it, or it wouldn't work for non-reserved IP addresses. It must be by hostname, but why can it no longer resolve the hostname?

It's hardly temporary - It's been like it a week with me trying restarts, turning the ssh settings off and back on, etc.


Viewing all articles
Browse latest Browse all 529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>