<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Technical - Category - erdelynet.com</title><link>https://erdelynet.com/categories/-technical/</link><description> Technical - Category - 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>Mon, 22 Nov 2021 19:13:00 +0000</lastBuildDate><atom:link href="https://erdelynet.com/categories/-technical/" rel="self" type="application/rss+xml"/><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>