Description
Create public and private keys.
ssh-keygen -t ed25519 -C mymail@mail.com
got 2 files: id_ed25519, id_ed25519.pub
Add id_ed25519.pub to SSH Keys of git.
Create a credential ID.
Use it for our Job and we could not visit git.
As a hint, when we use git 2.36.1, it shows Permission denied (publickey). But when we use git 2.21.0, it shows invalid format for private key.
Originally reported by fiann , imported from: Jenkins Plugin ssh-agent could not ssh-add sucessfully a private key which is created as a jenkins credential ID
assignee : dnusbaum
status : Open
priority : Critical
component(s) : ssh-agent-plugin
label(s) : SSH, ssh-agent
resolution : Unresolved
votes : 0
watchers : 1
imported : 20260604-211335
Raw content of original issue
Create public and private keys.
ssh-keygen -t ed25519 -C mymail@mail.com
got 2 files: id_ed25519, id_ed25519.pub
Add id_ed25519.pub to SSH Keys of git.
Create a credential ID.
Use it for our Job and we could not visit git.
As a hint, when we use git 2.36.1, it shows Permission denied (publickey). But when we use git 2.21.0, it shows invalid format for private key.
environment : Slave is windows 10. Private Key is ed25519.
2 attachments
Reactions are currently unavailable
You can’t perform that action at this time.
ssh-keygen -t ed25519 -C mymail@mail.com
got 2 files: id_ed25519, id_ed25519.pub
Originally reported by fiann, imported from: Jenkins Plugin ssh-agent could not ssh-add sucessfully a private key which is created as a jenkins credential ID
Raw content of original issue
Slave is windows 10. Private Key is ed25519.2 attachments