You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create an SSH key secret by pasting the contents without an empty line at the end, then git clone will fail to authenticate.
Simply adding an empty line to the secret contents fixes the problem. IMHO, this would probably be best fixed upstream in SSH, however there is precedent in other projects to simply work around this behaviour by making sure SSH private keys end with a newline character:
If you create an SSH key secret by pasting the contents without an empty line at the end, then git clone will fail to authenticate.
Simply adding an empty line to the secret contents fixes the problem. IMHO, this would probably be best fixed upstream in SSH, however there is precedent in other projects to simply work around this behaviour by making sure SSH private keys end with a newline character:
jenkinsci/ssh-credentials-plugin#33
semaphoreui/semaphore#183
The text was updated successfully, but these errors were encountered: