i'm running ubuntu 14.04 virtual machine on macbook pro using vmware fusion. git repository can accessed osx , ubuntu (as shared directory) well, git communication bitbucket works differently - git pull
, git push
commands ask password in ubuntu, work without password in osx.
configuration files:
- the
/etc/gitconfig
file absent in both cases - the
~/.gitconfig
file content same in both cases - the
.git/config
file physically same
git version on ubuntu 1.9.1, , on osx - 1.9.5.
where should find out reason difference? i'd prefer entering password in osx well, because it's semi-private machine.
where should find out reason difference?
it depends on url used (output of git remote -v
)
https: osx session might have cached password oskeychain helper.
need cache credential helper in ubuntu achieve same result.ssh: git looking ssh keys in
~/.ssh
, can set in mac osx session, empty in ubuntu vm.
need same keys in ubuntu~/.ssh
folder in order avoid ssh fall username/password authentication.