Skip to content

List, open, close, forward and share the ports of an SVM

Usage

Terminal window
si port [OPTIONS] <COMMAND>

Flags

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si port ls

List the open ports of an SVM

Terminal window
si port ls [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si port open

Open a port to members or, with --public, to anyone

Terminal window
si port open [OPTIONS] [SVM] [PORT]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
portPORTThe port number, from 1 to 65535

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--publicLet anyone reach the port, not only members and link holdersfalse
--authKeep the port for members and link holders; the defaultfalse
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si port close

Close a port and invalidate its links

Terminal window
si port close [OPTIONS] [SVM] [PORT]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
portPORTThe port number, from 1 to 65535

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si port url

Print a link to an open port

Terminal window
si port url [OPTIONS] [SVM] [PORT]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
portPORTThe port number, from 1 to 65535

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--ttlTTLHow long the link works: 30m, 1h, 7d or seconds; 1h by default1h
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si port rotate

Invalidate every link of a port

Terminal window
si port rotate [OPTIONS] [SVM] [PORT]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
portPORTThe port number, from 1 to 65535

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si port forward

Forward a port of an SVM to this computer

Terminal window
si port forward [OPTIONS] [SVM] [PORT[:LOCAL]]...
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
portsPORT[:LOCAL]An SVM port, and optionally the local port after a colon

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--stdioCarry one port between standard input and output, as an SSH ProxyCommand doesfalse
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si port forward web 3000
si port forward web 3000 8000 5432:15432
si port forward --stdio %h 22