
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.
#Reset local cloud key password via ssh 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.

When initially setting up your local environment, you need to add the SSH keys to the following specific environments: The SSH protocol is designed to maintain a secure connection between two systems-in this case, your local working environment and your Adobe Commerce on cloud infrastructure Git project. Deploy code and migrate static files and data.

