ReadyMage Help
  • ReadyMage
  • USER PORTAL
    • User Portal Access
    • Change Password
    • Two-Factor Authentication
  • Project Management
    • Project List
    • Project Settings
      • General Info
      • Git Management
      • Environments
      • Members and roles
      • Security
        • Deletion Protection
        • TFA Enforcement
      • Delete Project
  • Application Management
    • Magento Details
    • Domain Management
    • Logs & Monitoring
    • Backups
      • Backup process
      • Disaster recovery process
    • Deployments
      • Deploy without build cache
      • Queue Tab (Launching soon)
      • Settings Tab (Launching soon)
        • Automatic Deployments
        • ReadyMage Maintenance Page
          • Website Access During Maintenance
      • Notifications Tab (Launching soon)
        • Managing email notifications
        • Managing Slack notifications
      • Pipeline Deployments
      • Pipeline Configuration file
        • Migration guide from 0.x.x to 1.0.0
    • SSH Access
      • SSH Usage
      • Database Access using Graphical Interface
      • Troubleshooting
    • IP Whitelist
    • Password Authentication
    • Database & Media
    • Search Engine Bots Discovery
  • Service Management
    • Server-Side Rendering
    • SFTP
    • NewRelic
    • Packagist Modules
    • Cloudflare
  • Infrastructure Management
    • Autoscale
    • Sleep Mode
    • Manage Services
    • Historical Resource Usage
  • PROJECT DEVELOPMENT
    • Node.js version
    • Store access
    • Creating a Production Environment
    • Additional Environments
    • ScandiPWA, PWA Studio, Hyva, or Luma
    • Project Migration to ReadyMage
    • SSH Access for Magento CLI, database and media
    • Code customization and local setup
    • Extension installation
    • Add translations (switch locale)
    • Existing ScandiPWA Project Code Migration
    • Database and media migration
    • Redirect setup
    • Connect CDN and WebP optimization
    • Email setup
    • Changing the Domain & Multi-Store Set up
    • Internal service addresses
    • Kibana filters and useful CLI commands
    • Persistent directories
  • FAQ
    • General
    • Autoscaling
    • Billing
    • User Portal Options
    • Services connected to ReadyMage
    • Hosting, managing resources and autoscaling
    • Source Code Management
    • ScandiPWA and Magento Versions, Commerce Edition and Upgrades
    • Supported software versions
Powered by GitBook
On this page

Was this helpful?

  1. Application Management
  2. SSH Access

SSH Usage

Each environment can have an SSH container that allows a list of various actions. It doesn’t give direct access to any of the application/database containers.

Utilities that you can use:

  1. Magento cli — magento commands that will be executed on your application pods magento CMD

  2. MySQL cli tools — provides access to your database: mysql // Make dump mysqldump magento --single-transaction --no-tablespaces | gzip > dump.sql.gz

  3. Redis cli — provides access to your redis. To connect: redis-cli -h redis -p 6379

  4. Tools for copying:

    • rsync — use to sync data on local and ssh container. For example, to sync media folder: // From local to SSH container rsync -azP media/ your-user@ssh.<region>.i.readymage.com:/home/magento/media/ // From SSH container to local rsync -azP your-user@ssh.<region>.i.readymage.com:/home/magento/media/media/

    • scp — the same purpose as rsync.

      NB: the only directory that’s allowed to copy data is /home/magento. Copy database backups and media there only.

  5. Tools for compressing files:

    • gzip

    • tar

    • zcat

    • dar

  6. Useful tools:

    • cat

    • clear

    • curl

    • du

    • find

    • gpg

    • grep

    • head

    • jq

    • pv

    • tail

    • tmux

    • wget

    • nano

PreviousSSH AccessNextDatabase Access using Graphical Interface

Last updated 1 month ago

Was this helpful?