Skip to main content

Using an SSH connection

Updated this week

Secure Shell (SSH) is a vital tool for securely accessing and managing your server. It enables file transfers, remote management, and command-line access, all within a secure environment. This article explains your connection basics.


Important: It is necessary to use an SSH Key to establish the connection. Please create an SSH Key by following these instructions.


Note that SSH functionality may vary depending on your hosting plan (e.g., shared hosting vs. dedicated hosting), and compatibility with SSH clients should be verified.

Prerequisites

  • Access to cPanel

  • Create and install an SSH key

Task completion: 15 minutes

Expertise: advanced

How to do it?

Establishing an SSH Connection with Putty (Windows)

  1. Get an SSH Client, like Putty.

  2. Generate and install an SSH Key.

  3. Launch Putty and enter the hostname or server IP on which you are hosted

  4. Once you hit enter you'll be prompted with a window to approve a security key alert. Simply click Yes.

  5. You should be logged in!

Establishing an SSH Connection with Terminal (Mac OS / Linux)

  1. Generate and install an SSH Key.

  2. Launch your Terminal application (Mac OS: you can find it through Spotlight, or in the directory: Applications > Utilities > Terminal)

  3. Enter the connection line with this format: ssh [email protected]

  4. You may be prompted to accept the secure connection Key. Type in yes.

  5. You are logged in!

Troubleshooting Tip

If your SSH client flags an error related to legacy key types, consider adding the following lines to your SSH configurations:

HostKeyAlgorithms +ssh-dss
PubkeyAcceptedAlgorithms +ssh-rsa

NOTE: The server expects the login information to be sent in the first 10 seconds after the connection is requested. Failing to send it in this time frame will result in a failed connection. Additional actions performed via SSH are logged and violations of usage policies may result in account suspension. Exercise caution and ensure all actions comply with server policies.

Compatibility Requirements for SSH Access

  • Hosting Plans: SSH access may not be available on some shared hosting plans due to resource constraints.

  • Operating Systems: SSH tools like vim are optimized for Linux environments and may not function well on Windows-based systems.

  • Alternate Options: If SSH access is unavailable, consider using FTP or your hosting provider's File Manager to manage files.

Did this answer your question?