I am getting this error with both forms of URL ssh://hostname:port/repository and ssh://username@hostname:port/repository with an SSH key. If I change to a stored credential that uses an SSH key with no passphrase, then the ssh://username@hostname:port/repository URL form works.

The form without the username should work when the stored username in the credential gets used. It might also work now if the user running jenkins has a ~/.ssh/config file specifying the SSH username to be used with this git server, as I do this in one of my jenkins installations where all the SSH keys are managed in the OS filesystem level instead of the stored credentials. But in my new test system, only the ssh://username@hostname:port/repository form is working.

This test system is running with git plugin 2.2.6 and git client plugin 1.10.2 on Linux.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to