fabric8-devops icon indicating copy to clipboard operation
fabric8-devops copied to clipboard

How can we get ssh key of a gogs user

Open cmoulliard opened this issue 9 years ago • 0 comments

This command fails as we don't have the ssh public key of the user

git clone [email protected]:gogsadmin/dabou.git
Cloning into 'dabou'...
Warning: Permanently added the RSA host key for IP address '172.28.128.4' to the list of known hosts.
[email protected]'s password:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). 

Workaround if we have the keys is to use --> ssh-agent bash -c 'ssh-add sshkey; git clone url

cmoulliard avatar Sep 30 '15 17:09 cmoulliard