git-annex-4.20131024: doc/bugs/Wrong_port_while_configuring_ssh_remote.mdwn
### Please describe the problem.
When the assistant connects the second time during adding a ssh remote, it assumes port 22 when different port is given.
### What steps will reproduce the problem?
Adding a ssh git remote with non-standard port.
### What version of git-annex are you using? On what operating system?
GNU/Linux, Ubuntu 12.10, amd64, git-annex 4.20130627-g728b27a
Happens on android as well.
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
Error message (nothing related in daemon.log):
Failed to make repository
Something went wrong setting up the repository on the remote server.
Transcript:
ssh: connect to host xxxxx port 22: Connection refused
# End of transcript or log.
"""]]
> [[Fixed|done]]; this bug was introcuded in version
> 4.20130627 while making some other ssh fixes. --[[Joey]]