pw ssh
Initiate an SSH connection to a resource
Synopsis
The pw ssh command initiates an SSH connection to a specific compute resource. The resource has to be running, and you must have SSH access to it.
pw ssh <resource> [command] [flags]
Examples
# Interactively connect to a resource named 'my-resource' in the 'Jake.Thayne' namespace
pw ssh pw://Jake.Thayne/my-resource
# Interactively connect to your user workspace
pw ssh workspace
# Run the "hostname" command on a resource and exit
pw ssh pw://Jake.Thayne/my-resource hostname
# Run the "hostname" command on your user workspace and exit
pw ssh workspace hostname
Options
-h, --help help for ssh
Options inherited from parent commands
--platform-host string The Parallel Works platform host to use. Will override any other platform host settings.
-v, --verbose Enable verbose logging
SEE ALSO
- pw - The Parallel Works CLI