2

我将密钥设置为本地存储库的独立 GIT 安装。我可以从 git bash prompot 执行所有 git 命令。最近,我安装了 cygwin 并想从那里使用 git。

我尝试运行 ssh-add 命令,但它不起作用......见下文

user@computer_name /cygdrive/d/folder/cheftesting
$ ssh-add /cygdrive/c/Users/user/.ssh/id_rsa
      0 [main] ssh-add 8656 stdio_init: couldn't make stderr distinct from stdout

user@computer_name /cygdrive/d/folder/cheftesting
$ git clone git@gitlab.domain.net:project-chef/proj.git
Cloning into 'proj'...
The authenticity of host 'gitlab.domain.net (ip_address)' can't be established.
ECDSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
4

0 回答 0