skip to Main Content

I want ask the question.

I want to deploy from github to nginx server using jenkins. Maybe you can help me with this? When i try to add in Jenkins setting Publish over SSH i have error

jenkins.plugins.publish_over.BapPublisherException: Failed to add SSH key. Message [invalid privatekey: [B@2a8ec46d]

I just started to study these technologies and most likely I am doing something wrong. Maybe i need configure my nginx files?

Also please tell me something links maybe with Guid how to deploy from GitHub using Jenkins and Nginx.

2

Answers


  1. check this question from StackOverflow, someone faced the same problem and solution provided.

    Login or Signup to reply.
  2. Check first (in addition of my old answer already mentioned) if you need to add to your SSH daemon config file (/etc/ssh/sshd_config), as seen in jenkinsci/publish-over-ssh-plugin issue 94:

    PubkeyAuthentication yes
    PubkeyAcceptedKeyTypes=+ssh-rsa
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search