Jenkins puttygen
How to get the correct format key file for Jenkins CLI?
You have to generate a public SSH key on your machine and to declare this SSH key on your Jenkins server.To generate a public key on your machine (with no passphrase):ssh-keygen -t rsa
The default location for your public key is:/Users/your.user/.ssh/id_rsa.pub
Next, go on your Jenkins server and edit your Jenkins user information (via the top right corner, by clicking on your username).Go to the "SSH Public Keys" section and paste your public key.You should be able to access your Jenkins server with the CLI.I've tested this configuration on my Jenkins server and it works.