Reputation: 469
I need connect to server git.
http://help.github.com/win-set-up-git/ I do everything to the point, 4 point, I add ssh key to the server interface. but what about a 5 point?
I have available repositories [email protected]:title.git
but if I enter the link I get an error
ssh: source.server.com:title.git: no address associated with name
Upvotes: 2
Views: 5647
Reputation: 1323773
That means ssh doesn't connect to source.server.com
(the name doesn't resolve into an ip address), so ssh is looking for a %HOME%\.ssh\config
file in which it would see what actual hostname it should use when seeing source.server.com
.
See an example of config file here.
(Note: HOME
isn't defined by default on Windows, so don't forget to define it)
Point 5 on GitHub help page was about testing the ssh connection to GitHub, not to your server.
ssh -T [email protected]
Upvotes: 2