我是真的菜

这个错误是因为我把我用的是gitlab的ssh,但是我硬是把gitlab配置成账户密码导致不能用我擦勒,如果你配置ssh就必须用公钥密钥去解决
配置ssh注意一下选择:

在Kind中选择SSH Username with private key,下面的Private Key选择Enter directly直接输入在Gitlab部署了public key对应的private key即可。一般public key是在~/.ssh/id_rsa.pub,而private key是~/.ssh/id_rsa。
其实就是选择公钥就行了。
网友评论