Last active
January 11, 2023 05:15
-
-
Save goldbattle/30e06e056bd5e4e5088723974e245e5b to your computer and use it in GitHub Desktop.
Tailscale install on comma3n with ssh enabled
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
#!/usr/bin/bash | |
# Tailscale install on comma3 | |
# https://discord.com/channels/469524606043160576/524594418628558878/946342467307974658 | |
# tested over comma serial, might need sudo otherwise... | |
sudo mount -o remount,rw / | |
curl -fsSL https://tailscale.com/install.sh | sh | |
sudo sed -i 's/--state=\/var\/lib\/tailscale\/tailscaled\.state --socket=\/run\/tailscale\/tailscaled\.sock /--state=\/data\/tailscaled.state /g' /lib/systemd/system/tailscaled.service | |
sudo systemctl restart tailscaled | |
sudo tailscale up | |
tailscale ip -4 | |
# enable ssh for this device (uses tailscale) | |
sudo tailscale up --ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment