1

I previously had the problem My Problem in stackoverflow Question and that is solved by the answer provided by our stackoverflow community member.

Now i tried to use ssh for cloning one of the protected repository in Windows 7, so first i created the public key using this url link .

everything is working for me as specified in the url after following the steps, except when i try to do the 4th step that is "$ ssh -T [email protected]" i got the following error

mohamed_hussain@18 ~/.ssh 
$ ssh -T -p 443 [email protected] 
ssh: ssh.github.com: no address associated with name

Please help me in connecting to the ssh to access the private repositories.

1 Answer 1

2

You need to use for step 4:

ssh -T [email protected]

(not ssh -T [email protected]: ssh.github.com doesn't exist)


If the error message persists:

It shouldn't be an ~/.ssh/config issue, since you are not using an SCP syntax.


Considering that the OP Mohamed Hussain are trying to ssh to a private server (and not github.com), the OP confirms:

the problem here is my network firewall is blocking the IP and port number 22.

36
  • Thanks For the help, but GITBASH still gives me the same reply that is mohamed_hussain@18 ~/.ssh $ ssh -T [email protected] ssh: github.com: no address associated with name Jun 20, 2013 at 18:26
  • 1
    @MohamedHussain I understand, but step 4 is for checking if the public key has been published to github and ssh access to github is working. In your case, you would need to perform a similar test, but to err-pop.it.mutr.com, not github, which means you need to make sure your public key has been added to the err-pop.it.mutr.com:~git/.ssh/authorized_keys file (that you don't see at all in GitHub, since GitHub will mask that entirely from the client).
    – VonC
    Jun 21, 2013 at 6:09
  • 1
    @MohamedHussain no problem. I confirm github isn't related to your issue here. Try and clone using the IP address to see if that works better.
    – VonC
    Jun 24, 2013 at 11:38
  • 1
    @MohamedHussain without trying to resolve the ip, would a git clone ssh://[email protected]/my-prototype.git work? (with xxx.xxx.xxx.xxx being the ip address of err-pop.it.mutr.com)
    – VonC
    Jun 24, 2013 at 13:21
  • 1
    @MohamedHussain sure: trying an sshd -d on the server can help to see how your ssh request is interpreted.
    – VonC
    Jun 24, 2013 at 14:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.