P
P
Petr Volkhanov2014-01-22 13:28:06
SSH
Petr Volkhanov, 2014-01-22 13:28:06

How to solve the problem when connecting via ssh on Mac OS (ssh: Couldn't resolvehostname server: nodename nor servername provided, or not known)?

I set up GIT on my own server running Ubuntu Server, but I ran into such a problem - from under Linux and Windows (Putty) I can connect via ssh without problems, but from under Mac, the bolt is on 32. It gives the following error:
ssh: Couldn't resolvehostname server: nodename nor servername provided, or not known
What could be wrong? I just don't work on Macs. The default port is 22.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@ntkt, 2014-01-22
@eprivalov

The error says that the host name (DNS) is not resolved. Check with a command like
nslookup your.server.name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question