msysgit - Git cannot find ssh-keys in windows console -
i have git repository , can clone in windows machine , bash-console. when trying clone in windows console git cannot find ssh-keys , ask password.
here usefull information:
[36]: ssh -v -t xx.xxx.xxx.xxx openssh_4.6p1, openssl 0.9.8e 23 feb 2007 debug1: connecting xx.xxx.xxx.xxx [xx.xxx.xxx.xxx] port 22. debug1: connection established. debug1: identity file /.ssh/identity type -1 debug1: identity file /.ssh/id_rsa type -1 debug1: identity file /.ssh/id_dsa type -1 debug1: remote protocol version 2.0, remote software version openssh_5.8 debug1: match: openssh_5.8 pat openssh* debug1: enabling compatibility mode protocol 2.0 debug1: local version string ssh-2.0-openssh_4.6 debug1: ssh2_msg_kexinit sent debug1: ssh2_msg_kexinit received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: ssh2_msg_kex_dh_gex_request(1024<1024<8192) sent debug1: expecting ssh2_msg_kex_dh_gex_group debug1: ssh2_msg_kex_dh_gex_init sent debug1: expecting ssh2_msg_kex_dh_gex_reply debug1: host '62.105.139.252' known , matches rsa host key. debug1: found key in /.ssh/known_hosts:3 debug1: ssh_rsa_verify: signature correct debug1: ssh2_msg_newkeys sent debug1: expecting ssh2_msg_newkeys debug1: ssh2_msg_newkeys received debug1: ssh2_msg_service_request sent debug1: ssh2_msg_service_accept received debug1: authentications can continue: publickey,keyboard-interactive debug1: next authentication method: publickey debug1: trying private key: /.ssh/identity debug1: trying private key: /.ssh/id_rsa debug1: trying private key: /.ssh/id_dsa debug1: next authentication method: keyboard-interactive password:
$homw:
[43]: echo $home c:\users\myname
if cd ~; pwd -w
bash keys in .ssh subdirectory of folder. pwd -w gives windows path of msys directory in. presumably in case not same home or userprofile or homepath in cmd prompt shell. can use home environment variable ensure both match up. if don't have home set in windows environment gets set %homedrive%%homepath% if set or %userprofile% (depends if on nt domain or not believe). if set home yourself, override autodetection.
Comments
Post a Comment