CLICommand referenceservertunnel

server tunnel

Commands, arguments, and options for openship server tunnel.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship server tunnel

Manage tunnels opened on the selected Openship instance (not this CLI machine)

openship server tunnel [options] [command]
SubcommandPurpose
list <server>List saved tunnels and current listeners
save <server> <file>Save a tunnel configuration on the controller
start <server> <tunnel>start this tunnel on the controller
stop <server> <tunnel>stop this tunnel on the controller
remove [options] <server> <tunnel>remove this tunnel on the controller

openship server tunnel list

List saved tunnels and current listeners

openship server tunnel list [options] <server>
ArgumentMeaning
serverServer ID

openship server tunnel remove

remove this tunnel on the controller

openship server tunnel remove [options] <server> <tunnel>
ArgumentMeaning
serverServer ID
tunnelTunnel ID
OptionMeaning
-y, --yesConfirm tunnel removal

openship server tunnel save

Save a tunnel configuration on the controller

openship server tunnel save [options] <server> <file>
ArgumentMeaning
serverServer ID
fileJSON remotePort, optional remoteHost, localPort and autoStart; - reads stdin

openship server tunnel start

start this tunnel on the controller

openship server tunnel start [options] <server> <tunnel>
ArgumentMeaning
serverServer ID
tunnelTunnel ID

openship server tunnel stop

stop this tunnel on the controller

openship server tunnel stop [options] <server> <tunnel>
ArgumentMeaning
serverServer ID
tunnelTunnel ID

On this page