pc2

Connects to and operates a second Linux workstation over Tailscale via SSH.

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/Nadav011/nadavai-claude --skill pc2-nadav011
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pc2
Source: https://github.com/Nadav011/nadavai-claude/tree/main/plugins/nadavai/skills/pc2
Command: npx skills add https://github.com/Nadav011/nadavai-claude --skill pc2-nadav011

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running commands, copying files, or starting agents on a second machine fails repeatedly when the wrong user, dead IP, or broken DNS path is used. This Skill encodes the known-good connection path to the Omarchy workstation (Tailscale IP 100.93.63.88, user nc) and documents every failure mode so sessions stop re-deriving them. ## Core Features & Use Cases - Reliable SSH connection: Uses the omarchy alias in ~/.ssh/config with key-based auth, and appends the alias if it is missing. - Failure diagnosis: Distinguishes wrong-user errors, dead LAN addresses, MagicDNS resolution failures, and offline Tailscale nodes before retrying. - Remote execution patterns: Runs one-off commands, long-lived tmux sessions, rsync file transfers, and remote Claude agents on the second box. - Use Case: You ask to start a long build on the other machine. The Skill checks the node is online via tailscale status, launches the build inside tmux over SSH, and reads the output back with tmux capture-pane. ## Quick Start Ask the assistant to run a command on the second computer, for example: check uptime on PC2 and report back what the box answered.

Frequently Asked Questions about pc2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I SSH into a second computer over Tailscale?

Add a Host entry in ~/.ssh/config pointing to the machine's Tailscale IP with the correct user, then run ssh <alias>. Key-based authentication with an authorized ed25519 key avoids any password prompt.

How do I run a long command on a remote machine over SSH?

Start the command inside tmux on the remote host with ssh host 'tmux new -d -s name "command"' so it survives the SSH session. Read output later with ssh host 'tmux capture-pane -p -t name'.

Why does SSH fail with Permission denied publickey even with the right password?

The login username is likely wrong, not the password. On this Omarchy box the user is nc, not nadavcohen, and every attempt as nadavcohen is rejected regardless of password.

Why does the Tailscale MagicDNS hostname not resolve?

MagicDNS names fail when the system resolver is not pointed at Tailscale, even though tailscale status shows the node. Use the node's Tailscale IP address directly instead of the hostname.

How do I check if a Tailscale node is online before connecting?

Run tailscale status and grep for the node name to confirm it is not marked offline, then ping its Tailscale IP. If the node is offline the machine is asleep or off, so do not retry SSH.

Can I copy files between two machines over Tailscale?

Yes, use rsync over SSH with the remote alias, for example rsync -av local-path omarchy:remote-path. Both machines need rsync installed, and the same key-based SSH authentication applies.