Omnibus Gitlab SSH连接问题

时间:2019-02-11 23:41:24

标签: gitlab gitlab-omnibus

我在AWS的ELB后面设置了Gitlab服务器。我在端口22上的SSH连接有问题。 我已经开放了从经典ELB到终端服务器的22端口。我还在Web gitlab控制台中添加了ssh公钥(id_rsa.pub)。 当我运行“ ssh -Tv git@myserver.com”时,我不断收到以下错误-

debug1: Offering public key: /Users/.ssh/id_rsa RSA 
SHA256:lL1iDEdfgdf5452+VYx4+K234jsddfIto47/vMT1Q0J7SdA explicit
debug1: Authentications that can continue: publickey,gssapi- 
keyex,gssapi-with-mic
debug1: Offering public key: /Users/.ssh/id_rsa RSA 
SHA256:lL1iDEdfgdf5452+VYx4+K234jsddfIto47/vMT1Q0J7SdA
debug1: Authentications that can continue: publickey,gssapi- 
keyex,gssapi-with-mic
debug1: No more authentication methods to try.
git@mydomain.com: Permission denied (publickey,gssapi-keyex,gssapi- 
with-mic).

我不确定丢失了什么,因为我已经通过22个开放了到终端服务器的连接。似乎Gitlab无法验证公共密钥。您能在这里帮忙吗?

0 个答案:

没有答案