I know something similar has been asked multiple times, but I wasn’t able to find the right solution for my case.
I have a custom git repository accessible via ssh on a non-standard port; URL is something like:
git clone ssh://email@example.com:12345/path/to/repo/project.git
private key for that repo is in
I am trying to get access the repo without passwords, but I’m failing.
~/.ssh/config has a stanza:
Host git HostName my.repo.host Port 12345 User myname IdentityFile ~/.ssh/myname.prv
… but git still asks for a PW.
What am I missing?
Note: both server and client are fairly recent Linux machines and I’m working at the command line, if it matters.