How to grant SSH access to my server if I'm using SSH keys on it?

How to grant SSH access to my server if I'm using SSH keys on it?

In accordance with our security policy, we do not accept external SSH keys that are provided by outside means, such as an attachment to the ticket, email, archive, link, etc. To connect to customer servers, we use keys (both public and private) generated by secure forms, which we use to safely store such data.

Generating the public key

Step 1. When contacting our support specialists via a created ticket, you will be sent a secure link, which you need to open to fill in the access credentials. Proceed via this link and enter the data (such as Magento admin area access details, hostname, SSH port, etc.). 

Step 2. After specifying the credentials, please select Key in Magento file access section → Authorization Type.



Step 3. Press the Secure Submit button at the bottom of the page when you're ready.



Step 4. You will see a box with the generated public key, which you need to place on your server and authorize.


Adding the public key to the server:

Step 1. Navigate to the /home/*sshusername*/.ssh server folder and find the authorized_keys file. 



Step 2. Copy the contents of the box with the public key, or, if you downloaded it as a .pub file, the content of the downloaded file, into the authorized_keys file, and save the changes.



That's it! Now we will be able to connect to your server.

      • Related Articles

      • Can I send you the files of my website to investigate the issue instead of giving SSH access?

        We can work with customer instances by deploying them in our local environment, so you can send us the archived files of your root Magento directory and database the following way: Step 1. Go to your root Magento directory via CLI and run this ...
      • How to apply a custom patch on Magento Cloud?

        Please make sure to test all patches in a pre-production environment. For Adobe Commerce on cloud infrastructure, you can create new branches with the magento-cloud environment:branch <branch-name> CLI command. To apply a custom patch on a Cloud ...
      • Triggers found by SWAT report

        In Magento 2, for all changes in existing entities to properly reflect in the environment, a reindex is required. Specific events that enforce the reindexing process after changes in database tables are called triggers. Amasty modules do not add ...
      • How to apply a diff patch?

        A “patch” is a compact representation of the differences between files, intended for use with line-oriented text files. It describes how to turn one file into another, and is asymmetric: the patch from file1 to file2 is not the same as the patch for ...
      • How to translate a Magento 2 extension?

        Generally, an extension consists of specific elements (i.e. interface, settings display, added content) which can be translated to another language. When making a translation, as the first step, look through the module's elements in the Admin panel — ...