This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright public licence and also I don't care. | |
# 2020 Josh "NeverCast" Lloyd. | |
from micropython import const | |
from esp32 import RMT | |
# The peripheral clock is 80MHz or 12.5 nanoseconds per clock. | |
# The smallest precision of timing requried for neopixels is | |
# 0.35us, but I've decided to go with 0.05 microseconds or | |
# 50 nanoseconds. 50 nanoseconds = 12.5 * 4 clocks. | |
# By dividing the 80MHz clock by 4 we get a clock every 50 nanoseconds. |
These are manual instructions on enabling SSH access on your Steam Deck, adding public key authentication, and removing the need for a sudo
password for the main user (deck
).
This gist assumes the following:
- you have a Steam Deck
- you have a home PC with access to a Linux shell that can
ssh
,ssh-keygen
, andssh-copy-id
- your Steam Deck and home PC are on the same local network, with standard SSH traffic (tcp/22) allowed over that network from the PC to the Steam Deck
NOTE: @crackelf on reddit mentions that steamOS updates blow away everything other than /home
, which may have the following effects:
- removing the
systemd
config forsshd.service
, which would prevent the service from automatically starting on boot - removing the
sudoers.d
config, which would reenable passwords forsudo