Jenkins reported an error when using SSH Username with private key to connect when configuring the node ERROR: Server rejected the 1 private key(s)
Correct steps:
- Generate the key on the master machine and configure it on the slave machine to make sure that the master machine can connect to the slave machine without secret
- Key point: fill in the key as
id_rsa
instead of id_rsa.pub