<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Gpg on Notes… and stuff!</title><link>https://notes.andstuff.dev/tags/gpg/</link><description>Recent content in Gpg on Notes… and stuff!</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 25 Feb 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://notes.andstuff.dev/tags/gpg/index.xml" rel="self" type="application/rss+xml"/><item><title>Configuring sshpass</title><link>https://notes.andstuff.dev/sshpass/</link><pubDate>Sat, 25 Feb 2023 00:00:00 +0000</pubDate><guid>https://notes.andstuff.dev/sshpass/</guid><description>&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: how to encrypt and store a password into a file with GPG, and then decrypting it to provide it to sshpass. Also, some Zsh completion configuration for sshpass. Quick demo below with some dummy users and hosts:&lt;/p&gt;
&lt;script async id="asciicast-563649" src="https://asciinema.org/a/563649.js"&gt;&lt;/script&gt;
&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;sshpass&lt;/code&gt; is a command-line tool allowing a user to connect to SSH hosts without having to interactively input the user&amp;rsquo;s password. The password can be provided to sshpass in different ways:&lt;/p&gt;</description></item></channel></rss>