SSH on non-standard Port
July 22, 2005
Tags: Dropbox SSH
If you are running a SSH server on a non-standard port such as 1234 you are most likely going to run into trouble when e.g. trying to use Subversion over SSH, because the Subversion client does not support non-standard ports out of the box.
The most convinient way to work around this is to add the following snippet into ~/.ssh/config:
Host remote
HostName host.domain.tld
Port 1234
After that ssh remote will automagically connect to host.domain.tld with the correct port number, and (even better) svn
svn+ssh://remote/some/path will also work The Right Way