From: Evgenii Klimov <eugene.dev@lipklim.org>
To: help-guix@gnu.org
Subject: How to properly use ssh-askpass in Guix?
Date: Sat, 31 Aug 2024 18:12:49 +0100 [thread overview]
Message-ID: <878qwcobu6.fsf@lipklim.org> (raw)
Hi,
I tried to use Emacs' `vc-pull' and `vc-push' commands, but since my ssh
key is passphrase-protected it requires some kind of ssh-askpass type of
program.
From output I see that it tries to find ssh-askpass in openssh
directory, but there's nothing here (as far as I understand, ssh-askpass
is not part of openssh project directly):
Running "git pull --stat"...
ssh_askpass: exec(/gnu/store/78x0r0r72y865rkbs6vk78wmvd2404c0-openssh-9.8p1/libexec/ssh-askpass): No such file or directory
I guess each window manager offers its own variant of ssh-askpass, but I
use DWM, so I guess I need something WM independent.
I found x11-ssh-askpass package, but it doesn't provide any environment
variables or something to make the ssh process aware of it.
I get to use this package, binding SSH_ASKPASS variable myself, like:
export SSH_ASKPASS="$(guix package -I x11-ssh-askpass | cut -f4)/libexec/ssh-askpass"
But it doesn't look clean to me.
Am I missing something, or is there a better way? Or does this package
need a fix?
reply other threads:[~2024-08-31 18:01 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878qwcobu6.fsf@lipklim.org \
--to=eugene.dev@lipklim.org \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).