Monthly Archive: May 2023

Good to know – ssh

Create keys: ssh-keygen -t ed25519 \ -a 420 -f ~/.ssh/demo.ed25519 \ – C “Kommentar zum Key” Copy public key to server: ssh-copy-id \ -i ~/.ssh/demo.ed25519.pub \ user@server Add private key to ssh-agent: # ssh-agent eval `ssh-agent -s` ssh-add ~/.ssh/demo.ed25519 ssh-add -l Autostart ssh agent: # https://stackoverflow.com/questions/18880024/start-ssh-agent-on-login/18915067#18915067 ~/.config/systemd/user/ssh-agent.service [Unit] Description=SSH key agent [Service] Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK [Install] WantedBy=default.target...

netctl to networkd and iwd

Information: https://wiki.archlinux.org/title/Systemd-networkd https://wiki.archlinux.org/title/Iwd Migration: https://www.sobyte.net/post/2022-09/switch-to-systemd-networkd/ https://www.rdeeson.com/weblog/180/switching-from-netctl-to-networkd-with-iwd Wofi: https://codeberg.org/bagnaram/menu-iwd Main configuration is in: /etc/iwd/main.conf Network-Configuration is stored in: /var/lib/iwd Commands – iwctl: device list device wlan0 set-property Powered on station wlan0 scan station wlan0 get-networks station wlan0 connect SSID station wlan0 show station wlan0 disconnect known-networks list known-networks SSID forget