opentunnel-connect

Connect to remote servers behind NAT using reverse SSH tunnel with bore.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "opentunnel-connect" with this command: npx skills add julianponguta/opentunnel/julianponguta-opentunnel-opentunnel-connect

OpenTunnel Connect Skill

Connect to remote servers behind NAT using reverse SSH tunnel.

Flow

Step 1: Ask Options

Ask user:

  • Username? (default: tunneluser)
  • Minutes? (default: 60)

Step 2: Execute Binary

& "$env:USERPROFILE\.config\opencode\skills\opentunnel-connect\opentunnel.exe" --user USERNAME --minutes MINUTES

The binary will:

  1. Read/create SSH key from ~/.ssh/id_ed25519.pub
  2. Output curl command for remote server
  3. Wait for user to input tunnel info

Step 3: User Runs Command

Give curl command to user to run on remote server.

Example:

curl -fsSL "https://raw.githubusercontent.com/julianponguta/opentunnel/main/connect.sh?v=$(date +%s)" | sudo bash -s -- 60 root "ssh-ed25519..."

Step 4: Get Tunnel Info

User must provide: bore.pub:PORT

Step 5: Connect with ezssh

ezssh_ssh_execute({
  command: "hostname && uptime",
  hosts: ["bore.pub"],
  port: PORT,
  username: "USERNAME",
  privateKeyPath: process.env.USERPROFILE + "/.ssh/id_ed25519"
})

On Linux/macOS:

privateKeyPath: process.env.HOME + "/.ssh/id_ed25519"

Quick Install (for users)

Users can install on their servers:

echo 'ot() { curl -fsSL "https://raw.githubusercontent.com/julianponguta/opentunnel/main/connect.sh?v=$(date +%s)" | sudo bash -s -- "${@:-60}"; }' >> ~/.bashrc && source ~/.bashrc

Then just run: ot 60 root

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

PayPilot by AGMS

Process payments, send invoices, issue refunds, manage subscriptions, and detect fraud via a secure payment gateway proxy. Use when a user asks to charge som...

Registry SourceRecently Updated
General

Poem Generator

诗歌生成助手。现代诗、俳句、对联、藏头诗、古诗翻译。Poem generator with free verse, haiku, couplets, acrostic poems, classical poetry translation. Use when you need poem generator cap...

Registry SourceRecently Updated
General

Garmin Sync

Sync activities from Garmin China to Garmin Global using local timestamps and distance to avoid duplicates in a one-way sync process.

Registry SourceRecently Updated
General

Trader Simulator

🤖 OpenClaw Skill /skills | 炒股大师模拟器 | 股市模拟交易练习 | A股/港股/美股投资学习 | 化身文主任/股神老徐/炒股养家/孙宇晨等各位大师学习投资思路 | 多智能体股票讨论群

Registry SourceRecently Updated