See Generate a new SSH key in the GitHub documentation. If there are no SSH key files in the directory, you must create one. In the terminal, navigate to the ~/.ssh directory.Ĭopy the contents of the public key file ~/.ssh/.pub to the clipboard.
To add an SSH key using the Project Web interface: Pro: Add the key to the Staging, Production, and Integration environments.
Ssh for mac 2 vs 1 install#
After you add the key, you must redeploy all active environments on your account to install the key. You must add your SSH public key to your account. Add your SSH key using the Project Web Interface You can list and delete SSH keys using the Magento Cloud CLI commands ssh-key:list and ssh-key:delete. Magento-cloud ssh-key:add ~/.ssh/id_rsa.pub If you have not done so already, log in (or switch to) the file system owner to the server on which your SSH keys are located. Open a terminal application on your local workstation. To add an SSH key using the Magento Cloud CLI: Using the Adobe Commerce on cloud infrastructure Cloud account DashboardĪfter you add a key, you must redeploy active Cloud environments to upload the key.Using the Adobe Commerce on cloud infrastructure Web Interface.Using the Adobe Commerce on cloud infrastructure CLI.You can add SSH keys to your account in any of the following ways: Add your public SSH key to your Adobe Commerce accountĪdd a public SSH key to your Adobe Commerce account.Add an SSH key to your GitHub account and test the SSH connection.If you have at least one SSH key in your directory, add the key to your Adobe Commerce and GitHub accounts: For instructions, see Generate a new SSH key in the GitHub documentation. If the directory does not exist or has no SSH key files, you must generate at least one SSH key and add it to your GitHub account. In the terminal, list the contents of your SSH directory. This folder is hidden and may not display in the File Manager or Finder if your system is not configured to display hidden files and folders.
ssh subdirectory of the user home directory. Manually generating your SSH key in WindowsĪn existing SSH key pair is typically located in the.Create the keys using the GitHub account email address.įor more information on SSH keys, see the following:.Set up SSH keys as the file system owner.You can add multiple SSH keys for each system or workspace that you use.
Ssh for mac 2 vs 1 code#
The SSH keys allow you to connect to GitHub to manage source code and to connect to cloud servers without having to constantly supply your username and password. You must create an SSH key pair on every machine and workspace that requires access to Adobe Commerce on cloud infrastructure project source code and environments. After your Staging and Production environments are provisioned, you can add the SSH keys to those environments through the Project Web Interface or via SSH and CLI commands.