Skip to content

Instantly share code, notes, and snippets.

@chapmanjacobd
Last active March 31, 2026 18:15
Show Gist options
  • Select an option

  • Save chapmanjacobd/b9ae0550b8dfb67b450447539ebfc47a to your computer and use it in GitHub Desktop.

Select an option

Save chapmanjacobd/b9ae0550b8dfb67b450447539ebfc47a to your computer and use it in GitHub Desktop.
postmarketOS setup SSH
read -p "GitHub Username: " U
mkdir -p ~/.ssh && chmod 700 ~/.ssh
curl -s "https://github.com/$U.keys" > ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys
sudo systemctl enable --now sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment