<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ssh on ads' corner</title><link>https://andreas.scherbaum.la/tags/ssh/</link><description>Recent content in Ssh on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 15 Jun 2026 00:00:00 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>How installing nftables broke ssh-copy-id</title><link>https://andreas.scherbaum.la/post/2026-06-15_how-installing-nftables-broke-ssh-copy-id/</link><pubDate>Mon, 15 Jun 2026 00:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2026-06-15_how-installing-nftables-broke-ssh-copy-id/</guid><description>&lt;p&gt;While testing a new feature for &lt;a href="https://warehouse-pg.io/"&gt;WarehousePG&lt;/a&gt; in our &lt;a href="https://github.com/EnterpriseDB/warehouse-pg-docker"&gt;Docker containers&lt;/a&gt;, I ran into an unexpected problem: I wanted to block certain network traffic between the &lt;em&gt;Docker&lt;/em&gt; hosts, and therefore installed &lt;code&gt;nftables&lt;/code&gt;. Suddenly very early in the startup process the &lt;code&gt;ssh-copy-id&lt;/code&gt; ssh key exchange broke.&lt;/p&gt;&#10;&lt;p&gt;The error message:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&#10;&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 1&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 2&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 3&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 4&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 5&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 6&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 7&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 8&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 9&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;10&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;11&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;12&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-plaintext" data-lang="plaintext"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | Adding ssh keys for user gpadmin to host standby&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | Attempt 1/5: Adding keys for user gpadmin to host standby ...&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | Something went wrong adding ssh keys for user gpadmin to host standby.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | Here is the log output:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: &amp;#34;/home/gpadmin/.ssh/id_rsa.pub&amp;#34;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | kex_exchange_identification: read: Connection reset by peer&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | Connection reset by 169.254.2.66 port 22&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coordinator | Attempt 1 failed with exit code 1.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;The key question: why is simply installing a new package into the container breaking an unrelated tool?&lt;/p&gt;</description></item><item><title>Raspberry Pi OS - First Steps</title><link>https://andreas.scherbaum.la/post/2025-06-11_raspberry-pi-os-first-steps/</link><pubDate>Wed, 11 Jun 2025 00:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2025-06-11_raspberry-pi-os-first-steps/</guid><description>&lt;p&gt;A long time ago I wrote down the &lt;a href="https://andreas.scherbaum.la/post/2019-11-26_raspberry-raspbian-first-steps/"&gt;first steps I usually do when installing a new Raspberry Pi&lt;/a&gt; (or a Raspbian in that case). Now I&amp;rsquo;m installing a new system, with a 2025 Raspberry Pi OS. Time to update the notes.&lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;figure&gt;&#10; &lt;img src="raspberry-pi-4b.jpg" alt="Raspberry Pi 4B" title="Raspberry Pi 4B" width="800" height="593" loading="lazy" /&gt;&#10;&#10; &lt;center&gt;&lt;figcaption&gt;Raspberry Pi 4B&lt;/figcaption&gt;&lt;/center&gt;&#10;&#10;&lt;/figure&gt;&#10;&#10;&#10;&lt;/p&gt;&#10;&lt;h2 id="hardware-requirements"&gt;Hardware requirements&lt;/h2&gt;&#10;&lt;p&gt;The 64-bit &lt;em&gt;Raspberry Pi OS&lt;/em&gt; &amp;ldquo;only&amp;rdquo; supports the &amp;ldquo;3B&amp;rdquo;, &amp;ldquo;3A+&amp;rdquo;, &amp;ldquo;3B+&amp;rdquo;, &amp;ldquo;4B&amp;rdquo;, &amp;ldquo;400&amp;rdquo;, &amp;ldquo;5&amp;rdquo;, &amp;ldquo;500&amp;rdquo;, &amp;ldquo;CM3&amp;rdquo;, &amp;ldquo;CM3+&amp;rdquo;, &amp;ldquo;CM4&amp;rdquo;, &amp;ldquo;CM4S&amp;rdquo;, &amp;ldquo;CM5&amp;rdquo; and the &amp;ldquo;Zero 2 W&amp;rdquo; hardware.&lt;/p&gt;</description></item><item><title>GitHub Actions: The `set-output` command is deprecated and will be disabled soon</title><link>https://andreas.scherbaum.la/post/2023-01-10_github-actions-the-set-output-command-is-deprecated-and-will-be-disabled-soon/</link><pubDate>Tue, 10 Jan 2023 13:42:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2023-01-10_github-actions-the-set-output-command-is-deprecated-and-will-be-disabled-soon/</guid><description>&lt;p&gt;If you use &lt;a href="https://github.com/features/actions"&gt;GitHub Actions&lt;/a&gt; to run Workflows and tests, you might have spotted this warning recently:&lt;/p&gt;</description></item><item><title>Run Ansible tasks as different remote user</title><link>https://andreas.scherbaum.la/post/2022-08-12_run-ansible-tasks-as-different-remote-user/</link><pubDate>Fri, 12 Aug 2022 00:40:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2022-08-12_run-ansible-tasks-as-different-remote-user/</guid><description>&lt;p&gt;Had a somewhat curious situation: need to run a task in &lt;em&gt;Ansible&lt;/em&gt; in different user accounts, but I don&amp;rsquo;t have &lt;code&gt;sudo&lt;/code&gt; or &lt;code&gt;su&lt;/code&gt; access, only ssh access for every account. Took me a moment to figure out how to do that.&lt;/p&gt;</description></item><item><title>Delete directories recursive on Hetzner Storage Box</title><link>https://andreas.scherbaum.la/post/2021-07-09_delete-directories-recursive-on-hetzner-storage-box/</link><pubDate>Fri, 09 Jul 2021 20:25:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2021-07-09_delete-directories-recursive-on-hetzner-storage-box/</guid><description>&lt;p&gt;Among other external solutions, I store some data on &lt;a href="https://www.hetzner.com/storage/storage-box"&gt;Storage Boxes&lt;/a&gt; from &lt;em&gt;Hetzner&lt;/em&gt;. The Storage Box allows you to have sub-accounts, so for every server and system storing data there, I use a separate account. For each sub-account, one can select a subdirectory where the data is stored, and the sub-account then can only see this data. The Admin account can see all data, and see all directories.&lt;/p&gt;</description></item><item><title>Raspberry Pi: take a screenshot from a display with no keyboard and mouse</title><link>https://andreas.scherbaum.la/post/2020-02-10_raspberry-pi-take-a-screenshot-from-a-display-with-no-keyboard-and-mouse/</link><pubDate>Mon, 10 Feb 2020 00:58:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-02-10_raspberry-pi-take-a-screenshot-from-a-display-with-no-keyboard-and-mouse/</guid><description>&lt;p&gt;The &lt;em&gt;Raspberry Pi&lt;/em&gt; in the kitchen runs relatively stable, but recently the browser (which is showing the &lt;a href="https://www.openhab.org/"&gt;openHAB&lt;/a&gt; &lt;em&gt;HABpanel&lt;/em&gt;) popped up a warning in the upper right corner. That&amp;rsquo;s annoying, because this area in &lt;em&gt;HABpanel&lt;/em&gt; shows the outside temperature.&lt;/p&gt;&#10;&lt;p&gt;Before investigating what&amp;rsquo;s going on, I had to figure out a way to get a screenshot of the display - without running into the kitchen with my mobile phone. And without attaching a keyboard all the time (to press the &lt;code&gt;Print&lt;/code&gt; button).&lt;/p&gt;</description></item><item><title>Raspberry - Raspbian - First steps</title><link>https://andreas.scherbaum.la/post/2019-11-26_raspberry-raspbian-first-steps/</link><pubDate>Tue, 26 Nov 2019 23:15:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2019-11-26_raspberry-raspbian-first-steps/</guid><description>&lt;p&gt;Installing a new &lt;em&gt;Raspberry Pi&lt;/em&gt; is always the same few steps, and still I have to look them up almost every time. Here is the summary.&lt;/p&gt;</description></item><item><title>Ansible and LXC Containers</title><link>https://andreas.scherbaum.la/post/2016-08-13_ansible-and-lxc-containers/</link><pubDate>Sat, 13 Aug 2016 18:18:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2016-08-13_ansible-and-lxc-containers/</guid><description>&lt;p&gt;&lt;em&gt;LXC&lt;/em&gt; is one of many available &lt;a href="https://en.wikipedia.org/wiki/Operating-system-level_virtualization"&gt;containerization solutions&lt;/a&gt; for &lt;em&gt;Linux&lt;/em&gt;. &lt;a href="https://en.wikipedia.org/wiki/Ansible_(software)"&gt;Ansible&lt;/a&gt; has basic &lt;a href="https://docs.ansible.com/ansible/lxc_container_module.html"&gt;support for LXC integrated&lt;/a&gt;, which is fine if you do not intend to do much inside of the container (aka: &lt;em&gt;fire &amp;amp; forget&lt;/em&gt;). My goal however is to start a full flavored container, and manage this container with &lt;em&gt;Ansible&lt;/em&gt; as well. That&amp;rsquo;s where things get a bit tricky, and looking around I couldn&amp;rsquo;t find much documentation how to do this.&lt;/p&gt;&#10;&lt;p&gt;This posting describes my approach.&lt;/p&gt;</description></item><item><title>How I do backup of my mobile devices</title><link>https://andreas.scherbaum.la/post/2013-09-14_how-i-do-backup-of-my-mobile-devices/</link><pubDate>Sat, 14 Sep 2013 21:44:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2013-09-14_how-i-do-backup-of-my-mobile-devices/</guid><description>&lt;p&gt;Recently I was asked how I do backups of my mobile devices. The discussion started when I told that I &amp;ldquo;survived&amp;rdquo; a bricked device without data loss.&lt;/p&gt;&#10;&lt;p&gt;Disclaimer: I work (well, was working, before we got spinned of into a &lt;a href="https://en.wikipedia.org/w/index.php?title=GoPivotal&amp;amp;redirect=no"&gt;subsidiary&lt;/a&gt;) for &lt;a href="https://en.wikipedia.org/wiki/EMC_Corporation"&gt;EMC&lt;/a&gt;. Part of &lt;em&gt;EMCs&lt;/em&gt; portfolio is &amp;ldquo;backup&amp;rdquo; and for sure I learned a lot from my employer. All my own devices and servers are backed up, some of them multiple times. Backups, devices and communication is encrypted. I&amp;rsquo;m not using public services (&lt;em&gt;Dropbox&lt;/em&gt;, &lt;em&gt;Google Drive&lt;/em&gt;, &amp;hellip;) for the backups.&lt;/p&gt;</description></item><item><title>Start multiple ssh sessions with KDE konsole</title><link>https://andreas.scherbaum.la/post/2008-09-11_start-multiple-ssh-sessions-with-kde-konsole/</link><pubDate>Thu, 11 Sep 2008 00:52:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2008-09-11_start-multiple-ssh-sessions-with-kde-konsole/</guid><description>&lt;p&gt;I have shell accounts on different servers. Sometimes - especially if new &lt;a href="https://www.debian.org/"&gt;Debian&lt;/a&gt;/&lt;a href="https://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt;/&lt;a href="https://www.redhat.com/"&gt;Redhat&lt;/a&gt;/&lt;a href="https://fedoraproject.org/"&gt;Fedora&lt;/a&gt; updates are available - I have to open a &lt;code&gt;ssh&lt;/code&gt; session to each server. That takes time and too many keyboard clicks and being a lazy admin I thought this job can be scripted.&lt;/p&gt;</description></item><item><title>f* MySQL</title><link>https://andreas.scherbaum.la/post/2007-02-03_f-mysql/</link><pubDate>Sat, 03 Feb 2007 11:06:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2007-02-03_f-mysql/</guid><description>&lt;p&gt;Today I woke up because the Nagios used by our ISP sent me a SMS: something does not work well on one of the association servers. According to the SMS, the webserver was not responding. Ok, the webserver is &lt;a href="https://andreas.scherbaum.la/post/2006-12-05_there-is-no-spoonmmmmmauto_increment/"&gt;never&lt;/a&gt; the cause of the problem, something else is going wrong.&lt;/p&gt;</description></item></channel></rss>