Search code examples
gitsshmsysgitpermission-deniedgit-clone

Problems cloning a git repository (Newbie problems)


Trying to set-up a git server on my local dev machine and have been following this website so far but am a little stuck when trying to clone a repository.

In git bash, here's my output:

$ git clone ssh://Administrator@192.168.2.10:4837/ssh/home/Administrator/project1.git
Initialized empty Git repository in C:/Git/project1/.git/
Permission denied (publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedly

Any suggestions on why I would be getting a 'Permission denied (publickey,keyboard-interactive)' error?

Thanks in advance!


Solution

  • You're failing to authenticate with the git server. Have you given it your public SSH key?