Skip to contentSkip to conversation

git clone ssh:// auth failiure

DISCUSSION Arya, Manish Kumar 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

root@dcb0:~# git clone ssh://localhost/~/testproject manish
Initialized empty Git repository in /home/marya/manish/.git/
Password:
Password:
Password:
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedly

though I am providing correct ssh password but its not working.

ne help guys ?

-Manish

#1 lore raw
Quoted 10 lines · Manish Kumar

Hi,

root@dcb0:~# git clone ssh://localhost/~/testproject manish
Initialized empty Git repository in /home/marya/manish/.git/
Password:
Password:
Password:
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedly
Quoted 6 lines

though I am providing correct ssh password but its not working.

ne help guys ?

-Manish

This appears to be more likely a problem with your OpenSSH config than with git.

- Steven

#2 lore raw
In reply to Arya, Manish Kumar
Quoted 1 line · Manish Kumar
root@dcb0:~# git clone ssh://localhost/~/testproject manish

You are aware that youre calling ssh as root, and that ssh will try to login to localhost as user "root"? A lot of sshd installations do not allow this by default.

Quoted 2 lines

Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).

This is an ssh-error, has nothing to do with git

Greetings, Jojo (from a Nokia N810, yuk)

Signature · 4 lines
Johannes Gilger <[email protected]>
http://hackvalue.de/heipei/
GPG-Key: 0x42F6DE81
GPG-Fingerprint: BB49 F967 775E BB52 3A81  882C 58EE B178 42F6 DE81