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:
- Set up the terminal application according to its provided documentation.
- Start the terminal application.
- When prompted, enter your Magento server’s host name or IP address.
- 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.
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.