8 ŞUBAT 2011, Salı
git - Server host key değil önbelleğe
Uzak bir repo için benim yerel repo değişiklikleri zorlamaya çalışıyorum. I tipi:
git push origin
Aşağıdaki hatayı alıyorum:
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:
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Connection abandoned.
fatal: The remote end hung up unexpectedly
Bunu nasıl çözebilirim? Windows komut satırı 7 gıt kullanıyorum.
Edit
Basit bir ssh yapmaya çalışıyorum
ssh user@hostname
Aşağıdaki hatayı alıyorum:
Could not create directory '/c//%HOMEDRIVE%%HOMEPATH%/.ssh'.
percent_expand: unknown key %H
Bir şekilde yolunu geçersiz olduğu için dizin oluşturun. Bunu nasıl düzeltebilirim?
@eckes:Edit2
Benim Eve 10 ** Bu doğru mu?
CEVAP
16 EYLÜL 2012, Pazar
MSYS standart Windows komut istemi ile Macun kullanarak Gıt kurma olanlar için Macun önbelleği için bir bilgisayar eklemek şekilde çalıştırmaktır
> plink.exe <host>
Örneğin:
> plink.exe codebasehq.com
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:
ssh-rsa 2048 2e:db:b6:22:f7:bd:48:f6:da:72:bf:59:d7:75:d7:4e
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)
Sadece cevap y
ve Ctrl C sonra diğerleri.
Parmak izi ile kontrol. Bu uyarı orada mutlaka iyi bir sebebi vardır. Bazı gıt hizmetleri için parmak izi (Düzenle daha ekleyin lütfen):
Bunu Paylaş:
Neden Çift yapar.değerini, javadoc söy...
eğer tablo varsa nasıl kontrol ve eğer...
SQL Server "SONRA EKLE" teti...
SQL Server veritabanı geri yükleme hat...
Kesecek (yuvarlak değil) SQL Server ye...