Inhaltsverzeichnis

Raspberry Pi

SSH bei SD Karte

Von: https://www.elektronik-kompendium.de/sites/raspberry-pi/1906281.htm

  1. Datei mit dem Namen
    ssh

    auf der boot Partition

  2. Via CLI mit
    sudo raspi-config

    im Menü (wenn Display dran)

Example:

fabianhorst@MacBook-Pro-von-Fabian ~ % cd /Volumes/boot
fabianhorst@MacBook-Pro-von-Fabian boot % touch ssh
fabianhorst@MacBook-Pro-von-Fabian boot %

First Steps

Neuer Benutzer

Von: https://www.elektronik-kompendium.de/sites/raspberry-pi/2007011.htm

sudo -i
useradd -m username
passwd username
usermod -s /bin/bash username
usermod -g users username
gpasswd -a username sudo
gpasswd -a username ssh

Benutzer löschen

sudo -i
killall -u pi
userdel -r pi

Wireguard installen

von: https://troublenet.de/wireguard-auf-dem-raspberry-pi/

sudo apt update
sudo apt full-upgrade -y
sudo apt-get install wireguard -y