# exo compute instance ssh
### Description

This command connects to a Compute instance via SSH (requires the ssh(1) command).

To pass custom SSH options:

    exo compute instance ssh -o "-p 2222 -A" my-instance


```
exo compute instance ssh INSTANCE-NAME|ID [COMMAND ARGUMENT] [flags]
```

### Options

| Option | Description |
|---------|------------|
|`--help, -h` | help for ssh |
|`--ipv6, -6` |  |
|`--login, -l` |  |
|`--print-command` | print the SSH command that would be executed instead of executing it |
|`--print-ssh-config` | print the corresponding SSH information in a format compatible with ssh_config(5) |
|`--ssh-options, -o` | additional options to pass to the ssh(1) command |
|`--zone, -z` | instance zone |


### Options inherited from parent commands

| Option | Description |
|---------|------------|
|`--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
|`--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [instance]({{< ref "../instance">}})	 - Compute instances management


