Magento 2.0.18 is the final 2.0.x release. After March 2018, Magento 2.0.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

How do I log in to my Magento server using a terminal, command prompt, or SSH?

To complete almost all of the tasks in this guide, you must remotely log in to your Magento server.

Prerequisites: You must have:

  • A terminal application

    Windows and Mac OS typically use different terminal applications.

  • A user name and password for the Magento server

    On a hosted system, this is likely a user who doesn’t have administrative rights to the server; that’s OK as long as the user can install system software, stop and start services like the web server, and so on.

    If you have your own server, you or your system administrator can usually log in as the root user, which on Linux, is the user with full administrative rights over the entire server.

To use a terminal application to remotely access the Magento server:

  1. Set up the terminal application according to its provided documentation.
  2. Start the terminal application.
  3. When prompted, enter your Magento server’s host name or IP address.
  4. Log in to the server with the user name or password you were provided.

Here’s what it looks like when you’re logged in to a server as the root user with Cygwin on Windows.

Logging in with Cygwin on Windows

Secure Shell (ssh) is a protocol you can use to securely connect to a remote server without the user name or password being sent over the network.