Gitlab - failed to authenticate remote server for CI and CD build

后端 未结 2 1148
时光说笑
时光说笑 2021-01-06 16:45

I am getting \"Enter passphrase for /dev/fd/63\" error when my \".gitlab-ci.yml\" tries to remote to my Ubuntu server for executing SSH com

2条回答
  •  借酒劲吻你
    2021-01-06 16:49

    Since openssh is package with Git for Windows, try and use an opeenssh key (generated with ssh-keygen), without (for now) a passphrase (to avoid needing an ssh-agent)

    Register your openssh public key (default id_rsa.pub) on the AWS side.
    As in, for instance, "Importing Your Own Public Key to Amazon EC2".

提交回复
热议问题