Hi,
Job secret are mostly not so long string used for password and others (passphrase...).
Inside my job, i've to connect to ssh server using a private key. Some private key contains \r\n like the putty format under windows.
So this command does not work due to \r\n
echo "@secret:id_rsa_ppk@" >> id_rsa.ppk
Do you have a simple and secure way to retrieve my private ssh key ?
Thanks
How about calling PowerShell and write the file using here string?
Not working cause job secret contains \r\n which is handle like command. Found another way so i close
Open
Closed
Hi,
Job secret are mostly not so long string used for password and others (passphrase...).
Inside my job, i've to connect to ssh server using a private key. Some private key contains \r\n like the putty format under windows.
So this command does not work due to \r\n
Do you have a simple and secure way to retrieve my private ssh key ?
Thanks