Attempting to clone ssh in sourcetree. Consistently get Error:
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote ssh://git@AZG1-DEVOPWEBD1.ad.local:7999/test/demo.git
Output:
Error: Unable to open connection:
Host does not existfatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Attempt clone from git:
C:\Users\gary.herber>git clone ssh://git@AZG1-DEVOPWEBD1.ad.local:7999/test/demo.git C:\bit9prog\dev\Demo
Cloning into 'C:\bit9prog\dev\Demo'...
ssh: Could not resolve hostname azg1-devopwebd1.ad.local: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Attempt clone from git with IP:
C:\Users\gary.herber>git clone ssh://git@10.242.128.175:7999/test/demo.git C:\bit9prog\dev\Demo
Cloning into 'C:\bit9prog\dev\Demo'...
The authenticity of host '[10.242.128.175]:7999 ([10.242.128.175]:7999)' can't be established.
RSA key fingerprint is SHA256:8quDqTYdesSq4R8u1UGgAcLfYO4mHhgR2d8RTee3iYo.
This host key is known by the following other names/addresses:
~/.ssh/known_hosts:1: [azg1-devopwebd1]:7999
~/.ssh/known_hosts:2: [azg1-devopsbtp1.ad.local]:7999
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[10.242.128.175]:7999' (RSA) to the list of known hosts.
git@10.242.128.175: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Can anyone suggest where to look for the publickey error?