Celeb Glow
news | March 13, 2026

ssh: Could not resolve hostname.......temporary failure in name resolution

My Windows Subsystem for Linux (WSL) was upgraded to WSL2 recently. When I type wsl -l -v in the PowerShell terminal, the following is displayed:

 NAME STATE VERSION
* Ubuntu Running 2 docker-desktop Running 2 docker-desktop-data Running 2

However, I receive the following error when trying to connect to the server using WSL2 terminal: ssh: Could not resolve hostname fdr1: Temporary failure in name resolution. With git bash or PowerShell terminal, it works fine, but not with WSL2. What could be the issue? I use ssh adr@frd1 to access the server although not working this time with WSL terminal. I would appreciate it if someone could direct me to a solution. Thank you! adr

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy