/steam-deck

Primary LanguageShell

  1. Setup user password: passwd
  2. mkdir -p ${HOME}/.ssh
  3. Add public key to ${HOME}/.ssh/authorized_keys
  4. Setup SSHD:
sudo tee /etc/ssh/sshd_config << EOF
Port 22
PermitRootLogin no
AuthorizedKeysFile      .ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
UsePAM yes
PrintMotd no
Subsystem       sftp    /usr/lib/ssh/sftp-server
EOF
  1. Enable SSHD: sudo systemctl enable --now sshd.service
  2. Create Wireguard folder: sudo mkdir -p /etc/wireguard
  3. Copy Wireguard config to /etc/wireguard/wg0.conf
  4. Import wireguard connection to networkmanager: sudo nmcli con import type wireguard file /etc/wireguard/wg0.conf

Features:

  • SSHD
  • WireGuard
  • Syncthing