HostnExtraHostnExtra Docs

Tunnel Profiles

Create and manage reusable tunnel profiles.

Tunnel Profiles

Tunnel profiles define reusable SSH local forwarding rules.

Profiles are stored locally in:

~/.hostnextra/
└── tunnel/
    └── profiles.json

Each profile contains only forwarding information.

The plugin never stores:

  • Passwords
  • SSH private keys
  • Authentication tokens
  • Secrets

Create a Profile

MySQL

hostnextra tunnel profile add mysql-prod \
    --from web-prod:3306 \
    --to localhost:3306

PostgreSQL

hostnextra tunnel profile add postgres-prod \
    --from web-prod:5432 \
    --to localhost:5432

Redis

hostnextra tunnel profile add redis-prod \
    --from web-prod:6379 \
    --to localhost:6379

Nginx

hostnextra tunnel profile add nginx-prod \
    --from web-prod:80 \
    --to localhost:8080

List Profiles

hostnextra tunnel profile list

Show a Profile

hostnextra tunnel profile show mysql-prod

Remove a Profile

hostnextra tunnel profile remove mysql-prod

On this page