Using SSH (Secure Shell) to Access Your Account

Using SSH (Secure Shell) to Access Your Account

SSH (Secure Shell) is a secure way to access your hosting account's command line. With SSH, you can run commands, manage files, and perform advanced tasks as if you were sitting at the server — all through an encrypted connection.

InfoNote: One&OnlyHost supports SSH only — Telnet is not available for security reasons.

How SSH Works

SSH creates an encrypted connection between your computer (the client) and the hosting server. This protects your data while allowing you to:

  • Run commands directly on the server

  • Transfer files securely

  • Perform tasks faster than through a control panel

What You Need

  • An SSH client (Windows: PuTTY or WinSCP; macOS/Linux: built-in Terminal)

  • Your SSH connection details from cPanel

  • Your cPanel username and password

Finding Your SSH Connection Details in cPanel

  1. Log in to cPanel via the Hosting Panel at my.oaohost.com .

  2. In the General Information section (right-hand sidebar), locate:

    • Username – Your SSH username (same as your cPanel username)

    • Shared IP Address or Dedicated IP Address – This is your SSH hostname

    • Primary Domain – Can be used as the hostname if it points to One&OnlyHost nameservers

  3. Port – Unless specified otherwise, SSH uses port 22 (some servers may use a different port).

Connecting via SSH

Windows (PuTTY)

  1. Download and open PuTTY .

  2. In Host Name (or IP address) , enter your SSH hostname or IP.

  3. In Port , enter the SSH port (default 22).

  4. Select SSH as the connection type.

  5. Click Open .

  6. Enter your SSH username and press Enter.

  7. Enter your password (nothing will appear while typing) and press Enter.

macOS / Linux (Terminal)

  1. Open Terminal .

  2. Type:

    nginx
    ssh username@hostname

    Replace usernamewith your cPanel username and hostnamewith your domain or server IP.

  3. If using a custom port, type:

    css
    ssh -p portnumber username@hostname
  4. Enter your password when prompted (nothing will appear while typing).

Ending Your SSH Session

When finished, type:

bash
exit

and press Enter. This will safely close your connection.