ssh-keygen -t ed25519 -C "gleb@reys.net"

ssh-keygen -y -f id_ed25519 > id_ed25519.pub

sudo sed -i 's/^#.*WaylandEnable=.*/WaylandEnable=false/' /etc/gdm3/custom.conf
sudo sed -i 's/^#\?\(HandleLidSwitch=\).*/\1ignore/' /etc/systemd/logind.conf


https://www.mankier.com/1/grdctl - RDP


curl -sS "https://dev.clp.ge/public_keys.sh" | sudo bash


// First 3306 is local port, second is remote port
ssh -L 3306:MYSQL_SERVER_PORT_OR_DOMAIN:3306 username@1.1.1.1


If the server application sends data to localhost:1234 on the server, you will receive that data on your machine on port 1234.
ssh -o ServerAliveInterval=10 -R 1234:localhost:1234 username@1.1.1.1


nohup ./hello.sh > myoutput.txt 2>&1