<?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 Wilhelm Maritz</title><link>https://wjmaritz.dev/tags/ssh/</link><description>Recent content in Ssh on Wilhelm Maritz</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 19 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wjmaritz.dev/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>One character in /etc/shadow locked me out</title><link>https://wjmaritz.dev/posts/shadow-locked-account/</link><pubDate>Sat, 19 Sep 2026 00:00:00 +0000</pubDate><guid>https://wjmaritz.dev/posts/shadow-locked-account/</guid><description>&lt;p&gt;I built a small container to run coding agents on my ZimaBoard, reachable over SSH, key-only, no root login. It is the same box from &lt;a href="https://wjmaritz.dev/posts/tailscale-login-loop/"&gt;the Tailscale login that could never finish&lt;/a&gt;. The first login was refused:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Permission denied (publickey)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="narrowing-it-down"&gt;Narrowing it down&lt;/h2&gt;
&lt;p&gt;An &lt;code&gt;ssh -v&lt;/code&gt; trace showed my machine offering the right key and the server rejecting it, so the fault was inside the container. The sshd config was fine: &lt;code&gt;sshd -T&lt;/code&gt; confirmed &lt;code&gt;PasswordAuthentication no&lt;/code&gt;, &lt;code&gt;PermitRootLogin no&lt;/code&gt; and &lt;code&gt;AllowUsers dev&lt;/code&gt;, all as intended.&lt;/p&gt;</description></item></channel></rss>