<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ssh - Tag - erdelynet.com</title><link>https://erdelynet.com/tags/ssh/</link><description>Ssh - Tag - erdelynet.com</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><managingEditor>mike@erdelynet.com (Michael Erdely)</managingEditor><webMaster>mike@erdelynet.com (Michael Erdely)</webMaster><copyright>2026</copyright><lastBuildDate>Fri, 19 Sep 2025 15:31:00 +0000</lastBuildDate><atom:link href="https://erdelynet.com/tags/ssh/" rel="self" type="application/rss+xml"/><item><title>Using Yad for ssh-askpass</title><link>https://erdelynet.com/technical/using-yad-for-ssh-askpass/</link><pubDate>Fri, 19 Sep 2025 15:31:00 +0000</pubDate><author>mike@erdelynet.com (Michael Erdely)</author><guid>https://erdelynet.com/technical/using-yad-for-ssh-askpass/</guid><description><![CDATA[
<p>ssh-askpass is an X11 application for passing a user&rsquo;s SSH Key passphrase
to ssh-add <a href="https://man.openbsd.org/ssh-add" target="_blank" rel="noopener noreffer ">ssh-add(1)</a>. But it only works
with X11. And I&rsquo;m on Wayland now.</p>
<h2 id="solution">Solution</h2>
<p>Yad.  <a href="https://github.com/v1cont/yad" target="_blank" rel="noopener noreffer ">Yad</a> is Yet Another Dialog ala Zenity
or Dialog.  It allows for taking in input and passing it to something else
in a similar way to the way ssh-askpass worked with X11.</p>
<h2 id="a-screenshot">A screenshot</h2>
<p>This is how my yad-askpass window looks:</p>]]></description></item><item><title>Applying style to ssh-askpass</title><link>https://erdelynet.com/technical/applying-style-to-ssh-askpass/</link><pubDate>Mon, 22 Nov 2021 19:13:00 +0000</pubDate><author>mike@erdelynet.com (Michael Erdely)</author><guid>https://erdelynet.com/technical/applying-style-to-ssh-askpass/</guid><description><![CDATA[
<p><a href="https://man.openbsd.org/ssh-askpass.1" target="_blank" rel="noopener noreffer ">ssh-askpass(1)</a> is a graphical program
that prompts the user for their SSH Key passphrase and passes it to the
<a href="https://man.openbsd.org/ssh-add" target="_blank" rel="noopener noreffer ">ssh-add(1)</a> command.</p>
<p>Out of the box, ssh-askpass is pretty ugly, but I&rsquo;ve managed to
make it look dark, modern, and good.</p>
<h1 id="a-screenshot">A screenshot</h1>
<p>This is how my ssh-askpass window looks:</p>
<figure>
</figure>

<h1 id="the-code">The code</h1>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><pre tabindex="0"><code>SshAskpass*Dialog.font:       -adobe-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
SshAskpass*Dialog.label:      Please enter your authentication passphrase:
SshAskpass*Dialog.title:
SshAskpass*background:        #000000
SshAskpass*foreground:        #cccccc
SshAskpass.Button*background: #000000
SshAskpass.Button*foreground: #cccccc</code></pre></div>
<p>The above code goes in your ${HOME}/.Xresources file.</p>]]></description></item></channel></rss>