I correctly pointed to key file in ssh config:
$ cat ~/.ssh/config
Host <host>
IdentityFile /cygdrive/v/poma.pem
$ ssh git@<host>
PTY allocation request failed on channel 0
Welcome to GitLab, Roman!
Connection to <host> closed.
and using cygwin's git
$ which git
/usr/bin/git
$ git --version
git version 2.1.4
$ /cygdrive/c/Program\ Files\ \(x86\)/Git/bin/git.exe --version
git version 1.9.5.msysgit.1
But when I try to push it displays a password prompt:
$ git remote -v
origin git@<host>:poma/deploy.git (fetch)
origin git@<host>:poma/deploy.git (push)
$ git push -u origin master
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Why is that happening?