Michael WesemannandClaude Opus 5 96c5c2e65d setup.ssh: keep the newline when commenting out AcceptEnv
The $ in /(^\s*AcceptEnv.*$)/ matches before the newline, so $1 did not
contain it and the following line was appended to the comment - which
commented out the Subsystem sftp line on a stock Debian sshd_config.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 10:55:10 +02:00
2026-08-10 16:27:40 +02:00
2026-08-14 10:26:26 +02:00
2026-08-14 10:26:26 +02:00
2026-08-10 16:26:45 +02:00
2026-08-10 16:12:09 +02:00
2026-08-14 10:13:57 +02:00
2026-08-10 16:13:11 +02:00
2026-08-14 10:26:26 +02:00
2026-08-10 16:12:09 +02:00
2026-08-10 16:12:09 +02:00

-------------------- Debian 10/11/12/13 -----------------
# su -
# apt install git; git clone https://git.fhi.mpg.de/mike/linuxsetup
# cd ~/linuxsetup; ./setup.ssh
relogin as root
# cd ~/linuxsetup; ./setup.debian1x
# cd ~/linuxsetup; ./telemetry.setup

-------------------- Raspberry Pi OS --------------------
# sudo passwd root
# su -
# apt install git; git clone https://git.fhi.mpg.de/mike/linuxsetup
# cd ~/linuxsetup; ./setup.ssh
relogin as root
# cd ~/linuxsetup; ./setup.debian1x
# cd ~/linuxsetup; ./telemetry.setup

-------------------- Ubuntu 18/20/22 --------------------
# sudo passwd root
# su -
# git clone https://git.fhi.mpg.de/mike/linuxsetup
# cd ~/linuxsetup; ./setup.ssh
relogin as root
# cd ~/linuxsetup; ./setup.ubuntu2x
# cd ~/linuxsetup; ./telemetry.setup

-------------------- restic backup --------------------
decrypt restic conf (password: quo...):
# openssl enc -a -d -aes-256-cbc -salt -pbkdf2 -iter 1000000 -in restic.config.enc
# ./restic.setup
# rt backup
check crontab

-------------------- mariadb --------------------
# apt install mariadb-server
MariaDB> ALTER USER root@localhost IDENTIFIED VIA mysql_native_password USING PASSWORD("eizohphu");
# mybackup -a
# myuser <NAME>

-------------------- go --------------------
# wget https://go.dev/dl/go1.25.4.linux-arm64.tar.gz
# rm -rf /db/go && tar -C /db -xzf go1.25.4.linux-arm64.tar.gz
export PATH=/db/go/bin:$PATH
export CGO_ENABLED=0

S
Description
No description provided
Readme
155 KiB
Languages
Perl 75.3%
Python 12%
C 7.6%
Shell 4.1%
XS 1%