eb ssh <environment-name>
Connect to a Linux Amazon EC2 instance in your environment using Secure Shell
Arguments
Name | Description |
---|
environment-name | The name of the environment to connect to |
Options
Name | Description |
---|
-i, --instance | The ID of the instance to connect to |
-n, --number | The number of the instance to connect to by number |
-o, --keep_open | Leave port 22 open on the security group after the SSH session ends |
--command | Execute a shell command on the specified instance instead of starting an SSH session |
--custom | Specify an SSH command to use instead of 'ssh -i keyfile'. Do not include the remote user and hostname |
--setup | Change the key pair assigned to the environment's instances |
--force | Open port 22 to incoming traffic from 0.0.0.0/0 in the environment's security group, even if the security group is already configured for SSH |
--timeout <minutes> | Set number of minutes before the command times out |