×

How to Access a Server Terminal?

Access to a server’s terminal (or shell) is essential for advanced administration, executing commands directly on the server, and managing files and processes.

The terminal is a tool that allows you to interact directly with the server using text-based commands. For Linux servers, terminal access is typically managed through SSH (Secure Shell).

To work with a server terminal, follow these steps:

  1. Make sure SSH access is enabled by your hosting provider. This can be checked from the cPanel control panel, under the Terminal section. SSH key management is available in the SSH Access section.

  2. You can access the terminal directly from cPanel, without using an external SSH client. This feature is available in the Terminal section, where you can access the server’s command line.

  3. Another option is to install an SSH client. Popular solutions include:

    • PuTTY or Windows Terminal for Windows-based devices.

    • The built-in terminal for macOS and Linux systems.

  4. Using your device’s integrated terminal, you can connect to the server’s terminal by running the command:

    ssh username@server_ip_address
  5. Replace username with the user on the server (e.g., root), and server_ip_address with the server's IP address. Once the connection is initiated, you will be prompted to enter the user’s password.

  6. Using PuTTY, you’ll need to fill in the following details:

    • Host Name or IP address: The IP or domain of the server you want to connect to.

    • Port number: 22 (default SSH port) or another if your server uses a custom port.

    • Connection type: SSH.

Click Open to connect. You’ll be prompted to enter your username and password to complete the login.