SSH into your environment
You can then connect using SSH in any of the following ways:
Following are methods to SSH into your integration system.
SSH using the command line
To SSH to an environment using the
magento-cloud command line:
Log in to the project:
List the project IDs:
List the environments in that project:
magento-cloud environment:list -p <project ID>
SSH to the environment:
magento-cloud ssh -p <project ID> -e <environment ID>
Find SSH connection details using the Web Interface
To SSH to an environment using the Web Interface:
- Log in to the Web Interface.
Hover the mouse pointer over Access Site in the desired environment as the following figure shows.
- Click the clipboard button to copy the full SSH command to the clipboard. Enter the command in a terminal window.
Staging and production systems
You can’t use the
magento-cloud command line to SSH into staging and production systems. To SSH into staging and production systems, first create a support ticket requesting for your public key to be added to the system. The user and URL will have been supplied when the system was provisioned.