fabric8-devops
fabric8-devops copied to clipboard
How can we get ssh key of a gogs user
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