I am using git/bash in Windows 10 and try to clone a repository.
When I use the command: git clone username@hostname, I get:
ssh: Could not resolve hostname stbcmgit: Name or service not known
However, when I use a direct IP address instead of the hostname (git clone username@x.x.x.x), the access is successful and the clone starts. 
Notes:
- "known_hosts" file is located atc:\Users\myname\.sshThe file is taken from my Linux account where everything works fine there.
- The .ssh folder contains also the id_rsaandid_rsa.pubkeys (copied also from Linux).
- When I use 'ls $HOME/.ssh', I see these files listed.
- Using Windows 10.
Thanks.
 
     
     
    