Skip to main content

Connect to the Server via SSH

Use the attach command to connect to a server via SSH.

Usage

cloudcli server attach [flags]

Options

  -h, --help              Show help for the attach command
--id string Specify the server UUID
--key string Private key file to use for login
--name string Server name or regular expression matching a single server
--password string The server SSH password

Options Inherited from Parent Commands

These options can be used with the attach command as well:

      --api-clientid string   API Client ID
--api-secret string API Secret
--config string Config file (default is $HOME/.cloudcli.yaml)
--debug Enable debug output to stderr
--dryrun Enable dry run mode, does not perform actions
--format string Output format, default is a human-readable summary
--no-config Disable loading from config file