Problem scenario
You are running an SSH git command (to interact with GitLab, GitHub or some Git repository), but you get “No such host is known” message. What should you do to troubleshoot this problem?
Possible Solution #1
Use “git clone git@gitserver.acme.com” (instead of “ssh git@gitserver.acme.com”; you need to use the git command first).
Possible Solution #2
Try to ping gitserver.acme.com.
…
Continue reading “How Do You Solve a “No such host is known” Problem with Git Commands?”