Setting up jenkins on centos: problems with ssh keys and git

后端 未结 8 1451
忘掉有多难
忘掉有多难 2021-02-15 16:46

Went through a lot of questions, but nothing seems to be solving my issue. Or to be more precise I am not sure if I am doing the whole thing correctly. So here it is:

Ha

8条回答
  •  野性不改
    2021-02-15 17:22

    jenkins is a service account, it doesn't have a shell by design. It is generally accepted that service accounts shouldn't be able to log in interactively.

    I didn't answer this one initially as it's a duplicate of a question that has been moved to server fault. I should have answered rather than linked to the answer in a comment.

    if for some reason you want to login as jenkins, you can do so with: sudo su -s /bin/bash jenkins

提交回复
热议问题