Расширения мерзавца с помощью Шпаклевки: Ключ Хоста Серверов Не Кэшируется в Реестре (но я думаю, что это),

После команд ниже, у меня создается впечатление, что мой ключ добавляется к "реестру". Что является мной выполнение, или где шпаклевка, завинчивающая. Я должен отметить, что scp один работы, потому что я скопировал свой id_rsa ключ от моей cygwin установки до моего/c/Users/mehoggan/.ssh diroctory и ssh-add'd это. Однако это - часть мерзавца, которая не работает. Мой .ppk файл расположен в местоположении PuTTY по умолчанию/c/Users/mehoggan/Documents. Общедоступная версия была скопирована и вставлена до gerrit.

$ /c/Program\ Files/GitExtensions/PuTTY/plink.exe -P 29418 -l mehoggan matthewh.me
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
"finger print"
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) y
Using username "mehoggan".

  ****    Welcome to Gerrit Code Review    ****

  Hi Matthew Hoggan, you have successfully connected over SSH.

  Unfortunately, interactive shells are disabled.
  To clone a hosted Git repository, use:

  git clone ssh://mehoggan@www.matthewh.me:29418/REPOSITORY_NAME.git


mehoggan@MEHOGGAN-PC ~/Devel
$ git clone ssh://mehoggan@www.matthewh.me:29418/gerrit-userstats && scp -p -P 29418 mehoggan@www
.matthewh.me:hooks/commit-msg gerrit-userstats/.git/hooks/
Cloning into 'gerrit-userstats'...
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
<finger print>
Connection abandoned.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
-1
задан 5 September 2014 в 07:47
1 ответ

В первой части вы подключаетесь к matthewh.me, а во второй части вы подключаетесь к www. matthewh.met.

В первом соединении хранился ключ хоста для matthewh.me.

Во втором соединении запрашивается ключ хоста, так как ключ для www.matthewh.me еще не хранится.

Вы должны соединиться с помощью шпаклевки с www.matthewh.me, и хранить ключ хоста перед запуском git.

.
3
ответ дан 5 December 2019 в 19:15

Теги

Похожие вопросы