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

Unable to ssh into local machine using the hostname: Temporary failure in name resolution

$
0
0

A week ago I was able to ssh into a local NAS server that I just set up. After a week of tackling other projects I tried accessing it again using ssh [hostname] and it isn't working. I'm getting the error Could not resolve hostname [hostname]: Temporary failure in name resolution.

The machine is definitely accessible through the network: I can still access the samba share that machine is hosting, also ssh [username]@[ip-address] and ssh [username]@[hostname].local both work.

I have restarted both machines.

I recently switched internet providers, could that be why it no longer works? I am using the same router and I believe the local router handles DNS requests for private networks. My networking knowledge is a little lacking, so that may be incorrect.

Any ideas as to why ssh [username]@[hostname] no longer works? Also, why am I getting this warning (The authenticity of host '[hostname].local (192.168.1.102)' can't be established.) the first time I connect using an alternate method even though the resolved IP address is the same both times?


Viewing all articles
Browse latest Browse all 788

Trending Articles



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