help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Demystifying SSH configuration for remote software forges on Guix Sy


From: jbranso
Subject: Re: Demystifying SSH configuration for remote software forges on Guix System
Date: Sun, 12 May 2024 18:56:14 +0000

May 10, 2024 at 3:57 AM, "Ashvith Shetty" <ashvithshetty10@gmail.com> wrote:



> 
> I would like to understand the process for configuring SSH for software 
> forges, like Forgejo, GitLab or GitHub. So far, what I've noticed is that by 
> itself, SSH does not work properly, and that after opening a new terminal 
> session (window or tab, it does not matter), I am forced to repeat the 
> following step every time, before any pull or push:
> 
> ```console
> 
> $ eval $(ssh-agent -s)
> 
> $ ssh-add <path-to-private-key>
> 
> ```

I fun sway, and I just put somelike like the above in my .profile;  When I log 
in, it auto prompts me for my ssh password.

> Before I continue any further, I wanted to let you folks know that presently, 
> I am on XFCE4. I don't remember clearly if GNOME Desktop did some magic 
> behind the back, or if I had to repeat similar steps over there, because I've 
> not touched Git for some time.
> 
> I've tried adding GNOME Keyring as a service in the latest system 
> configuration (of course, with XFCE4), assuming that this missing service was 
> what I should have probably added, but that does not seem to be the case. 
> What am I missing over here?
> And finally, I've come across `home-openssh-service-type` - which I've yet to 
> try, but reading from the docs, am I supposed to put my private and public 
> keys in the repository? How do I go about this? Isn't that a security risk?
> Thanks,
> Ashvith

Also this kind of question is probably better for help-guix@gnu.org

No worries.  This conversation is now on help-guix@gnu.org.

Thanks,

Joshua



reply via email to

[Prev in Thread] Current Thread [Next in Thread]