search

Home  >  Q&A  >  body text

Jenkins integrates Git through ssh and reports an error when connecting to ssh

Is Jenkins connecting to a local git library, non-remote clone? How to solve it? I use usernamewith. password, should I change it?

Thank you

怪我咯怪我咯2811 days ago703

reply all(3)I'll reply

  • 迷茫

    迷茫2017-05-02 09:39:02

    Not sure, but you can try the private key method. I used a password before without success, and then I changed to a private key.

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-02 09:39:02

    There is no ** prompt for password input in Linux

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:39:02

    Actually, I just made a simple jenkins to connect to the local git library. I didn't expect that the username + password also need to be authenticated using authorized_keys. It hurts! I didn't forget this at first, because it was a prompt to enter a password but I couldn't enter it, and I thought it was an incompatibility issue with the plug-in.

    reply
    0
  • Cancelreply