SSH Host Key Verification Failed inside GitLab CI

后端 未结 3 1850
别那么骄傲
别那么骄傲 2020-12-19 02:45

Local Setup

I created a public and private SSH key via the ssh-keygen command.

I decided to setup the private key locally first

3条回答
  •  悲&欢浪女
    2020-12-19 03:30

    I wouldn't recommend using the same private key. Both for security reasons and because it might cause other problems. Also, make sure the authorized_keys file contains the public key on the server you want to access, otherwise the whole thing can't work. I'm assuming you've followed a guide along the lines of this one?

    Hope this does something.

提交回复
热议问题