remote-setup
Skill0 starsChanged 6 months agoMITView on GitHub
Configure full remote access for a new machine: SSH server, Tailscale VPN, Wake-on-LAN, SSH keys, and helper scripts. Use whenever the user wants to set up remote access, add a new machine to their network, configure SSH, install Tailscale, or enable WoL on another device. Also triggers for "add machine to remote setup", "configure new PC for remote work", "setup SSH on new computer".
- Pipes a download into a shell
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Rhovian/nilestheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Rhovian/niles★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- claude-code-setupSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Always-on device (Raspberry Pi, NAS, old PC) → sends WoL magic packet → wakes target
- Distinctive: line 25
If the target is Windows, jump to the Windows section.
- Very specific: line 171
Verify: tailscale ip -4 → note the 100.x.x.x address
- Very specific: line 173
Check all devices are visible: tailscale status
- Very specific: line 179
Add to ~/.ssh/config on the client machine:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Remote Setup Skill
Configure secure remote access for a new machine using the proven stack: Tailscale + OpenSSH + Wake-on-LAN.
Typical topology:
- Always-on device (Raspberry Pi, NAS, old PC) → sends WoL magic packet → wakes target
- Client (laptop, Chromebook) → SSH over Tailscale → target machine
Phase 1: Gather Context
Ask the user:
- Target machine OS — Windows, Linux (which distro), macOS?
- Client machine — where they'll connect from (Chromebook, Linux, Windows, macOS)?
- WoL needed? — Is there an always-on device (Pi, NAS, old PC) that can send magic packets?
- Tailscale account — same account as existing devices, or a new one?
If the target is Windows, jump to the Windows section. If Linux/macOS, jump to the appropriate section.
Windows Target
Step 1: OpenSSH Server
# Install
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# Enable + autostart
Set-Service -Name sshd -StartupType Automatic
Start-Service sshd
# Firewall rule (usually auto-created, verify)
Get-NetFirewallRule -Name *ssh*Verify listening: netstat -an | findstr :22
Step 2: Default shell → PowerShell
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell `
-Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" `
-PropertyType String -ForceStep 3: SSH Key Auth
On the client, generate key if needed:
ssh-keygen -t ed25519 -f ~/.ssh/id_<machinename>On Windows, install the public key:
# For admin users: use administrators_authorized_keys (NOT ~/.ssh/authorized_keys)
$pubkey = Get-Content "$env:USERPROFILE\.ssh\id_ed25519.pub" # or paste from client
$authKeysPath = "C:\ProgramData\ssh\administrators_authorized_keys"
Add-Content $authKeysPath $pubkey
# Fix permissions (required — SSH ignores keys with wrong ACLs)
icacls $authKeysPath /inheritance:r /grant "SYSTEM:(R)" /grant "Administrators:(R)"Test: ssh -i ~/.ssh/id_<machinename> Username@<ip>
Step 4: Disable password auth (optional but recommended)
Edit C:\ProgramData\ssh\sshd_config:
PasswordAuthentication no
PubkeyAuthentication yesThen Restart-Service sshd.
Step 5: WoL BIOS/Windows config
BIOS (UEFI):
- ErP Ready → Disabled
- Power On By PCI-E → Enabled
- Save & exit
Windows (Device Manager):
- Find the NIC (e.g., Intel I219-V)
- Properties → Power Management: enable "Allow this device to wake the computer"
- Properties → Advanced: enable "Wake on Magic Packet"
Windows Fast Startup — must be disabled for WoL to work:
# Disable via registry
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power" `
-Name HiberbootEnabled -Value 0Get MAC address for WoL:
Get-NetAdapter | Select-Object Name, MacAddress, StatusLinux Target
OpenSSH Server
# Debian/Ubuntu
sudo apt install openssh-server
sudo systemctl enable --now ssh
# Arch
sudo pacman -S openssh
sudo systemctl enable --now sshdSSH Key Auth
mkdir -p ~/.ssh && chmod 700 ~/.ssh
echo "ssh-ed25519 AAAA... user@client" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keysWoL on Linux (as wake-sender, e.g. Raspberry Pi)
sudo apt install wakeonlan ethtool
# Test WoL capability of NIC
sudo ethtool eth0 | grep Wake
# Enable WoL at boot (systemd service)
sudo tee /etc/systemd/system/wol.service <<EOF
[Unit]
Description=Enable Wake-on-LAN
After=network.target
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s eth0 wol g
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now wol.serviceWake script:
# ~/wake-<machinename>.sh
#!/bin/bash
wakeonlan AA:BB:CC:DD:EE:FFTailscale Setup (all platforms)
- Install from tailscale.com (one command on Linux:
curl -fsSL https://tailscale.com/install.sh | sh) sudo tailscale up→ opens browser for auth → log in with your Tailscale account- Verify:
tailscale ip -4→ note the 100.x.x.x address
Check all devices are visible: tailscale status
SSH Config on Client
Add to ~/.ssh/config on the client machine:
Host <alias>
HostName 100.x.x.x # Tailscale IP of target
User <username>
IdentityFile ~/.ssh/id_<machinename>
ServerAliveInterval 60Test: ssh <alias>
Checklist Before Declaring Done
- SSH service running and autostarts on target
- Firewall allows port 22
- Key auth works (no password prompt)
- Tailscale connected on both client and target, same account
ssh <alias>works from client- WoL: BIOS configured, magic packet enabled on NIC, Fast Startup disabled
- MAC address noted for wake scripts
~/wake-<machinename>.shscript tested end-to-end~/.ssh/configentry added on client- Reference guide saved locally with IPs, MAC, key paths, and quirks
Save a Guide
At the end, save a machine-specific reference file (e.g., <machinename>_remote_setup.md) with:
- Tailscale IP
- MAC address
- SSH alias and key path
- Wake script location
- Any quirks encountered during setup
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

