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/ \ 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: # ~/.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]

netctl to networkd and iwd

Information: Migration: Wofi: 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