[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Demystifying SSH configuration for remote software forges on Guix Sy
From: |
Ludovic Courtès |
Subject: |
Re: Demystifying SSH configuration for remote software forges on Guix System |
Date: |
Tue, 14 May 2024 11:59:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Ashvith Shetty <ashvithshetty10@gmail.com> skribis:
> 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?
Never ever put private keys in a repo.
I use ‘home-gpg-agent-service-type’ as my SSH agent:
https://guix.gnu.org/manual/devel/en/html_node/GNU-Privacy-Guard.html
If you already use Guix Home, you can set it up by adding a few lines to
your Home config, along the lines of the example in the manual above.
If you don’t, you could start ‘gpg-agent --ssh-support’ or ‘ssh-agent’
manually, for example from ~/.xsession or similar startup file.
HTH!
Ludo’.