mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Wed Jan 24 10:20:07 UTC 2024
This commit is contained in:
parent
a47e1e835a
commit
7a546ffea4
99 changed files with 2090 additions and 1700 deletions
|
|
@ -4,8 +4,10 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud workstations ssh
|
||||
(WORKSTATION : --cluster=CLUSTER --config=CONFIG --region=REGION)
|
||||
[--command=COMMAND] [--port=PORT; default=22]
|
||||
[--user=USER; default="user"] [GCLOUD_WIDE_FLAG ...] [-- SSH_ARGS ...]
|
||||
[--command=COMMAND]
|
||||
[--local-host-port=LOCAL_HOST_PORT; default="localhost:0"]
|
||||
[--port=PORT; default=22] [--user=USER; default="user"]
|
||||
[GCLOUD_WIDE_FLAG ...] [-- SSH_ARGS ...]
|
||||
|
||||
DESCRIPTION
|
||||
SSH into a running workstation.
|
||||
|
|
@ -89,6 +91,16 @@ FLAGS
|
|||
|
||||
Runs the command on the target workstation and then exits.
|
||||
|
||||
--local-host-port=LOCAL_HOST_PORT; default="localhost:0"
|
||||
LOCAL_HOST:LOCAL_PORT on which gcloud should bind and listen for
|
||||
connections that should be tunneled.
|
||||
|
||||
LOCAL_PORT may be omitted, in which case it is treated as 0 and an
|
||||
arbitrary unused local port is chosen. The colon also may be omitted in
|
||||
that case.
|
||||
|
||||
If LOCAL_PORT is 0, an arbitrary unused local port is chosen.
|
||||
|
||||
--port=PORT; default=22
|
||||
The port on the workstation to which traffic should be sent.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue