I am trying to make the git plugin work with my ssh key but am receiving the following error:
Here's the background info: 1) I have successfully been using the Git plugin for several years now over https and username/password 2) plugin is version 3.7.3.29 3) Flow is version 8.2 4) OS is ubuntu 16.04 5) I have created the the ssh public/private keys and installed them under the ~/.ssh directory for agent user 6) As the agent user on the same resource as the procedure runs, I can successfully run a git clone by cutting and pasting the same command that is found in the plugin output log. 7) I created a ECSM configuration with the private key content pasted into the appropriate field and have configured the procedure to use that configuration. I know that the plugin doesn't use the ~/.ssh directory but instead writes a ssh wrapper file in the /tmp directory using the config content. I just needed to validate that the key worked. My concern is that the ssh wrapper that is being generated is not working properly.... Has anyone else run into this? Are there any environment settings or character escaping issues that prevent the private key from being written out correctly?
add new comment
(comments are locked)
|
Hi, David! First of all, I am not sure, that it will work using https repository url with private key. Today we've verified your case and confirmed that it works. To make it working, please, make sure that: 1) Your private key is pasted as is, like:
2) Your repository is in ssh format, for example (using github):
Then it should work.
(comments are locked)
|
Topics:
asked: Aug 03, 2018 at 08:41 PM
Seen: 124 times
Last Updated: Aug 09, 2018 at 04:34 PM