With SSH you can connect with Putty directly from your computer to the console of the Steam Deck. This way you can execute commands more easily because you don’t have to use the on-screen keyboard.
If you don´t set a password for the Steam Deck account, please do it first: http://chilltimes.de/2022/05/01/steam-deck-set-password-for-sudo/
All commands have to enter in the „Konsole“. You can find the „Konsole“ in the „Applications“ menu.
Steam Deck – Enable SSH – One time
If you want to start SSH only once (does not start automatically after a reboot), then you can run the following command;
sudo systemctl start sshd
Steam Deck – Enable SSH – Autostart
If you want to start the SSH service automatically when restarting the Steam Deck, then you can enable this as follows:
sudo systemctl enable sshd