Git SSH operations do not work after git update to version 2.16.0 if ssh URL contains a port
What steps will reproduce the problem?
- Add a remote with SSH and a port
- Context menu on repository directory -> Tortoise Git -> Pull | Fetch | Push | ...
What is the expected output? What do you see instead?
Expected:
The pull|fetch|push|...
operation runs successfully.
Actual:
git.exe fetch -v --progress "origin"
fatal: ssh variant 'simple' does not support setting port
git did not exit cleanly (exit code 128) (62 ms @ 19.01.2018 17:32:15)
What version of TortoiseGit and Git are you using? On what operating system?
- OS: Win 7
- Git: 2.16.0.windows.2
- TortoiseGit: 2.5.0.0
- OpenSSH: 7.6p1
- OpenSSL: 1.0.2n
Please provide any additional information below.
pull|fetch|push|...
work correctly if invoked via command line in the CMD though.