ssh¶SSH into private host inside a project/environment
usage: strong-opx ssh [-h] [--project PROJECT] [--env ENVIRONMENT] [-v {0,1,2,3}] [--traceback] hostname
Hostname or host group or ip of instance
show this help message and exit
Select project by its name. If missing, strong-opx will attempt to auto-select project based on current working directory and its parents and looking for presence of configured project
Environment name. If project has only one environment that will be auto selected
Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output.
Raise instead of handling known exceptions
If you know the private IP:
strong-opx ssh <private-ip>
Otherwise, if you don’t know the private IP and you can specify host group.
strong-opx ssh primary
Or if host group has multiple hosts, and you want to connect to non-zero host, you can specify index of host in host config.
strong-opx ssh <group-name>:<index>
Note
This command is a thin wrapper around ssh. To pass additional arguments to ssh you can use the
-- separator. All arguments after -- will be passed as it is to ssh.