Hi everyone,
I’m new to Jenkins and I’m having trouble with SSH key authentication on a Windows system. Here’s what I’ve done so far:
- Generated an SSH key on my local Windows system.
- Copied the public key to the target machine.
- Set the appropriate permissions on the target machine.
- Tested the connection using the command:
ssh -i $env:USERPROFILE\.ssh\id_rsa Admin@<ip-address>