Permission denied (public key) during fetch from GitHub with Jenkins user on Ubuntu

前端 未结 8 894
盖世英雄少女心
盖世英雄少女心 2021-02-02 07:56

Here is my setup:

  1. Jenkins is running on my linux machine as \'jenkins\' user.
  2. I have generated a ssh key-pair as described in Linux - Setup Git, for the \
8条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-02 08:34

    If you are running jenkins as a service in windows, you need to verify the user running the service. If you created the keys using the user "MACHINENAME\user", change the service so the user running it can match

提交回复
热议问题