Fredrik Fornwall's geek blog
2010-08-08
Handling SSH on non-standard ports for subversion and git
Working with subversion and git over SSH on a non-standard port (!=22) is troublesome as the
host:port
syntax does not work.
One easy way around this is to to define an entry as the following in $HOME/.ssh/config:
Host my.githost.com Port 7822
This allows one to use the host normally through most SSH-using tools such as subversion and git!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About me
Fredrik Fornwall
fredrik@fornwall.net
http://fornwall.net/
Labels
adium
(1)
cool
(1)
database
(1)
dbus
(1)
eclipse
(3)
fedora
(1)
firefox
(2)
git
(1)
gps
(1)
ichat
(1)
java
(5)
javascript
(1)
linux
(1)
mobile
(1)
OS X
(3)
pidgin
(1)
postgresql
(2)
python
(2)
S60
(1)
script
(1)
shell
(5)
spotify
(1)
subversion
(2)
tip
(2)
vim
(1)
web
(2)
xmpp
(1)
No comments:
Post a Comment