How to make git to work with pagent(putty) on Windows?

As silly at it may seam the reason for this problem is that plink will use the default hostname/ip from the Default Settings and will ignore command line parameters.

The solution is to remove hostname/ip from Default settings.

Also if you fail to connect due to fingerprint you should first connect one time using putty in order to store the fingerprint, just run putty [email protected].