Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Over SSH fail to Connect remote server #311

Open
Akhilalex143 opened this issue Jun 23, 2023 · 2 comments
Open

Publish Over SSH fail to Connect remote server #311

Akhilalex143 opened this issue Jun 23, 2023 · 2 comments
Labels

Comments

@Akhilalex143
Copy link

Akhilalex143 commented Jun 23, 2023

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

Jenkins Server : Ubuntu 18 Version
Jenkins version : 2.411

Reproduction steps

ill Tack New Server ubuntu 20.4 and Install jenkins Latest Version 2.411and also Install Deploye Over SSh plugin after that im try to add ssh details , after test the connection , im Getting Error Massage like this

"jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [myserver]. Message [Auth fail for methods ‘publickey’]] "


image

Expected Results

My Connection Result " Success"

Actual Results

"jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [myserver]. Message [Auth fail for methods ‘publickey’]] "

image

Anything else?

No response

@suppabuster
Copy link

The same for me. sshd error:
userauth_pubkey: unsupported public key algorithm: rsa-sha2-512 [preauth]

@leandrose
Copy link

The same for me

error in /var/log/auth.log

Jan 4 16:02:17 myserver sshd[1095042]: error: Received disconnect from {IP} port 59830:3: com.jcraft.jsch.JSchException: Auth fail for methods 'publickey,password' [preauth]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants