-
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.
-
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: -
Unfortunately private key with passphrase is not supported.
-
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?