SFTP
Last updated
Last updated
SFTP (SSH File Transfer Protocol) works by using a secure shell data stream. It establishes a secure connection and then provides a higher level of protection for data while transferring it.
Using this method you will not need to copy-paste your key for each environment. It will be linked to your ReadyMage account.
Navigate to Account -> Integrations.
Click Add Key.
Enter your SSH Public Key and click Save.
After saving, the SSH key will be partially visible in the integrations.
Navigate to User Portal → Project → Selected Instance → Service Management → SFTP tab. Click Add User and select User by email.
Navigate to the User Portal → Project → Selected Instance → Application Management → SFTP tab. Click Add SFTP Key, fill in your SSH username, and add your SSH Public Key or leave it empty to get a one-time generated password.
Following directories are available on the SFTP server and mapped to appropriate directories in Magento 2 root:
/import
-> <magento2_root>/var/import
/export
-> <magento2_root>/var/export
/media
-> <magento2_root>/pub/media
Connection details are available in the SFTP tab in the Service Management section.
SFTP does not grant access to Magento 2 and ScandiPWA source files. Code changes and extension installation require local setup.
To connect to the SFTP server you can use a free cross-platform client like FileZilla.
Open FileZilla.
Go to Edit > Settings > Connection > SFTP
Add your private SSH key using Add key file button.
Enter Host, Username, and Port in Quickconnect fields.
Press Quickconnect.