ssh and git

RailsFid railsfid at gmail.com
Tue Sep 16 00:16:19 PDT 2008


I installed git through Macport. The git repository I am now trying to  
access it on port 222 instead of 22. I have the following in my /Users/ 
yourname/.ssh/config

Host name
Hostname name.com
Port 222
User git

Then from the terminal I do:

git clone name:subscriptions.git


But it always fails because it still tries to access the site through  
port 22 instead of port 222.
So my question is, have I set this up correctly? Does macport  
installation of git change anything so that I would have to do  
something else?

Thanks in advance for any help or suggestions.


Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080916/ab84a21b/attachment.html 


More information about the macports-users mailing list