Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

pcluster ssh - AWS ParallelCluster

pcluster ssh

Runs a ssh command with the cluster user name and IP address pre-populated. Arbitrary arguments are appended to the end of the ssh command line.

pcluster ssh [-h] --cluster-name CLUSTER_NAME [--debug] [--dryrun DRYRUN] [--region REGION]

Named arguments

-h, --help

Shows the help text for pcluster ssh.

--cluster-name, -n CLUSTER_NAME

Specifies the name of the cluster to connect to.

--debug

Enables debug logging.

--dryrun DRYRUN

When true, prints the command line that would be run and exits. (Defaults to false.)

--region, -r REGION

Specifies the AWS Region to use. The AWS Region must be specified, using the AWS_DEFAULT_REGION environment variable, the region setting in the [default] section of the ~/.aws/config file, or the --region parameter.

Example:

$ pcluster ssh --cluster-name mycluster -i ~/.ssh/id_rsa

Runs an ssh command with the user name and IP address of the cluster pre-populated:

ssh ec2-user@1.1.1.1 -i ~/.ssh/id_rsa
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.