trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2019

ssh setup for git

From: Ilya Dogolazky <ilya.dogolazky@...>
Date: Fri, 29 Nov 2019 14:39:30 +0200
Hello!

Sorry for a question which probably looks quite dumb, but I can't
figure out how to clone Trinity sources via usual ssh protocol (as
opposite to http:// URL). I uploaded a public ssh key via web
interface here https://mirror.git.trinitydesktop.org/gitea/user/settings/keys
and now I need to know which is the host of ssh server and which
username should I use (for example on GITHUB the server is
"github.com" and the user name is always "git")

Here is what usually do with services like GITHUB or GITLAB: just a
short piece of ~/.ssh/config file
Host github
Hostname github.com
User git
and then I can clone stuff just by "git clone github:ilyad/snake"

So please help me to set Hostname and User values correctly.

Cheers,

-- Ilya D.