I'm receiving the below error when attempting to do anything with Git over SSH on a non-standard port, and was wondering if anyone could help solve the issue.
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch --prune origin
plink: unknown option "-p"
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Completed with errors, see above.
Environment
Windows 10 Pro 64 bit
Sourcetree 2.5.4 (Windows)
Git 2.16.1 (System)
Git 2.15.1 (Embedded)
plink 0.70.2 (Embedded)
Putty/plink 0.70.0 (System)
TortoiseGit 2.6.0
Other Details
- I believe the correct option to specify a port should be a capital "-P", but I don't understand why SourceTree is using a lowercase one.
- Git URL format: ssh://user@domain.com:553/path/my-repo
- Access to the Git repo via SSH is confirmed working with TortoiseGit on the same system