all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reza Housseini <reza.housseini@gmail.com>
To: help-guix@gnu.org
Subject: ssh key on smartcard for guix deploy to DigitalOcean
Date: Thu, 17 Feb 2022 21:22:53 +0100	[thread overview]
Message-ID: <CAGZc64GBoLAekgG=j99_iSfqLO3GEUWZfCufOa2VfqhWi1BOeQ@mail.gmail.com> (raw)

Hi Guixers,

I'm trying to deploy a server configuration to DigitalOcean. My problem now
is that my ssh private key resides on a smart card and I don't understand
how this is working with the ssh-key field:

(list (machine
        (operating-system calendar-server)
        (environment digital-ocean-environment-type)
        (configuration (digital-ocean-configuration
(ssh-key "/home/reza/.ssh/smartcard.pub")
(tags '("calendar"))
                        (region "fra1")
                        (size "s-1vcpu-1gb")
                        (enable-ipv6? #t)))))

I tried to set the path to a file with the contents of ssh-add -L, but that
does not seem to work.

Any hints how to achieve this?

Kind regards,
Reza

                 reply	other threads:[~2022-02-17 20:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGZc64GBoLAekgG=j99_iSfqLO3GEUWZfCufOa2VfqhWi1BOeQ@mail.gmail.com' \
    --to=reza.housseini@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.