I'm trying to connect and fetching source from a ssh server with using putty, plink and git from command line. When connecting with putty or gitextension/tortoisegit/etc. there is no trouble. I can login or fetch/upload files.
Set variables and Executed plink
GIT_SSH={somePath}\plink.exe
plink -i key.ppk -ssh ssh://user@server:port
and getting following error:
FATAL ERROR : Network error: Connection Refused