Hi

I want to use the Jenkins declarative script linter via the CLI.

I have specified a fixed SSHD port in Jenkins Global Security.

I have shared my SSH public key with my account on the Jenkins server, so I can 
connect to the server using SSH.

However, when I try to run the linter I get an error:

$ ssh -p <port> hudsonmaster declarative-linter < Jenkinsfile
Permission denied (publickey).

Can anyone help me please?

Best regards

David

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/315ff9f469364ad48e2a1e4da7b77311%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to