The following clues helped in diagnosing the problem.
First, lets try ssh -vT without specifying a user. Note that the session assumes that the user is the account that is logged on, which has special character ('SE121947+PVHF0ONE_SS')!
$ ssh -vT git-eim.fg.com
OpenSSH_7.1p2, OpenSSL 1.0.2g 1 Mar 2016
....
debug1: Authenticating to git-eim.fg.com:22 as'SE121947+PVHF0ONE_SS'
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /c/Users/PVHF0ONE_SS/.ssh/id_rsa
debug1: No more authentication methods to try.
Permission denied (publickey).
Now lets try it with specifying git@git-eim.fg.com
$ ssh -vT git@git-eim.fg.com
OpenSSH_7.1p2, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to git-eim.fg.com [10.238.35.34] port 22.
debug1: Connection established.
debug1: identity file /c/Users/PVHF0ONE_SS/.ssh/id_rsa type 1
...
debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> none
Authenticated to git-eim.fg.com ([10.238.35.34]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
Hi PU0R0SRVDEVOPS! You've successfully authenticated, but GitHub does not provide shell access.
Strange thing is git@
can be replaced by foo@
and the authentication works! It's almost like it is merely a placeholder. So the fix was making sure the developerConnection
in the pom.xml had a git@
in order for git to be able to authenticated.