Cannot login to jenkins

password for jenkins server not working
jenkins 172.16.238.19 jenkins.stratos.xfusioncorp.com jenkins j@rv!s Jenkins Server for CI/CD

I’m having same issue unable to login into jenkins server, wrong password j@rv!s

Install Jenkins
thor@jump_host ~$ ssh [email protected]
The authenticity of host ‘jenkins.stratos.xfusioncorp.com (172.16.238.19)’ can’t be established.
ECDSA key fingerprint is SHA256:c8l8kqeg1k1s1rccnWPYXsACAOkn4iFLZIVHegYMsFg.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘jenkins.stratos.xfusioncorp.com’ (ECDSA) to the list of known hosts.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:

thor@jump_host ~$ ssh [email protected]
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
thor@jump_host ~$ ssh jenkins@jenkins
jenkins@jenkins’s password:
Permission denied, please try again.
jenkins@jenkins’s password:

Hi @aldr1c,

You can try this method:

sshpass -p 'j@rv!s' ssh -q -o 'StrictHostKeyChecking no' jenkins@jenkins

Regards,

Hey, there.
Same issue here and @Tej-Singh-Rana your solution didn’t help. Any other ideas?

Hi @mymusclecar,

It should work. But was it written in the task description for SSH to the Jenkins server to execute the task?

Regards,

You should see a Note message from the task instructions like this

  1. For this task, ssh into the jenkins server using user root and password S3curePass from jump host.