File Job secret (OD-311)
bufferUnderrun opened 5 years ago

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

  • Robin Shen commented 5 years ago

    How about calling PowerShell and write the file using here string?

  • bufferUnderrun commented 5 years ago

    Not working cause job secret contains \r\n which is handle like command. Found another way so i close

  • Robin Shen changed state to 'Closed' 5 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (2)
Reference
OD-311
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover