-
Private key secret : I also set the user'password as this property. it's not work also
-
The
private key secretshould be specified as name of a job secret whose value is your private key. Check the inline help of that property. -
I did it this way, just omitted to describe job secret. My main point is that I don’t know if the value of the job secret is something like this: -----BEGIN OPENSSH PRIVATE KEY----- my private key -----END OPENSSH PRIVATE KEY----- or it can also be done using a password.
-
Or, how can I retrieve the text value of the private key?
-
The value should be content of a private key. Please make sure your private key can be used to login to remote machine. You may also test directly with image
1dev/ssh-client:1.0.0and run same commands as the step to find out why it is not working: -
Thank you, I will check.
-
I find the problem.
We have set a passphrase for the private key we are using, and we utilize ssh-agent to avoid frequently entering the passphrase. Could you please advise on how to support passphrases or ssh-agent in this context?
-
Unfortunately private key with passphrase is not supported.
-
As far as I know, many system administrators set a passphrase for their private keys. If passphrases are not supported, the functionality of this feature will be significantly compromised. Please reconsider supporting this capability.
-
Previous Value Current Value Open
Closed
-
This will not be considered right now, as supporting passphrase can be quite complex. Closing the issue now.
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
I was set my username, remote host, and private key secret, but it's not work.
error msg: Permission denied, please try again. Permission denied, please try again. myusername@myhost: Permission denied (publickey,password).
Private key secret : I set this start with -----BEGIN OPENSSH PRIVATE KEY----- my private key -----END OPENSSH PRIVATE KEY-----
Is that correct? And any other limit on this step?