<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>deb13 :: xeylou's docs</title><link>https://docs.xeylou.fr/deb13/index.html</link><description>download link (amd64)</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://docs.xeylou.fr/deb13/index.xml" rel="self" type="application/rss+xml"/><item><title>banner</title><link>https://docs.xeylou.fr/deb13/banner/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.xeylou.fr/deb13/banner/index.html</guid><description>sudo apt-get update -qq sudo apt-get install -y -qq git figlet bc git clone -q https://github.com/xeylou/my-motd-s.git /tmp/my-motd-s sudo cp /tmp/my-motd-s/gnu-linux/banner_4.txt /etc/ssh/banner sudo tee /etc/ssh/sshd_config.d/02-banner.conf &gt; /dev/null &lt;&lt; 'EOF' Banner /etc/ssh/banner # PrintLastLog no EOF sudo sshd -t &amp;&amp; sudo systemctl reload ssh sudo cp /tmp/my-motd-s/gnu-linux/update-motd.d-en/* /etc/update-motd.d/ sudo chmod 755 /etc/update-motd.d/[0-3]* sudo rm -f /etc/motd /tmp/my-motd-s run-parts --lsbsysinit /etc/update-motd.d</description></item><item><title>docker</title><link>https://docs.xeylou.fr/deb13/docker/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.xeylou.fr/deb13/docker/index.html</guid><description>sudo apt-get remove $(dpkg --get-selections docker.io docker-compose docker-doc docker-buildx podman-docker containerd runc | cut -f1) sudo apt-get update -qq sudo apt-get install -y -qq ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc sudo tee /etc/apt/sources.list.d/docker.sources &lt;&lt;EOF Types: deb URIs: https://download.docker.com/linux/debian Suites: $(. /etc/os-release &amp;&amp; echo "$VERSION_CODENAME") Components: stable Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/docker.asc EOF sudo apt-get update -qq sudo apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo usermod -aG docker $USER systemctl status --no-pager docker</description></item><item><title>hardening</title><link>https://docs.xeylou.fr/deb13/hardening/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.xeylou.fr/deb13/hardening/index.html</guid><description>based on sshaudit.com, updated for deb13 openssh 10 for the ssh part
keep a parallel ssh session open until the end
prep safety cat /home/$USER/.ssh/authorized_keys ssh.socket ssh.socket is active, so Port and AddressFamily directives get ignored and systemctl reload ssh fails with “Cannot bind any address”</description></item></channel></rss>