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.jsonEach 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:3306PostgreSQL
hostnextra tunnel profile add postgres-prod \
--from web-prod:5432 \
--to localhost:5432Redis
hostnextra tunnel profile add redis-prod \
--from web-prod:6379 \
--to localhost:6379Nginx
hostnextra tunnel profile add nginx-prod \
--from web-prod:80 \
--to localhost:8080List Profiles
hostnextra tunnel profile listShow a Profile
hostnextra tunnel profile show mysql-prodRemove a Profile
hostnextra tunnel profile remove mysql-prod