SSH Connection Guide: Dedicated Server Management (2024)

by John-Paul Briones

2 Minutes, 17 Seconds to Read

SSH Connection Guide: Dedicated Server Management (1)

In this tutorial, we will show you how to connect to your dedicated server via SSH. This will allow you to interface with your server via Command Line Interface (CLI). First, we will show you how to add your IP address to the firewall to allow you to access your dedicated server. Then we will show you how to connect with both PuTTY, and Terminal.

  1. Adding IP to Firewall
  2. Connecting with PuTTY, OpenSSH, or Terminal

1. Add Your IP to the Firewall

  1. Look up your IP address. Write it down so you have it for later use.
  2. Login to WHM.
  3. Type firewall in the search box, then click the Add IP to Firewall link in the navigation menu.
    SSH Connection Guide: Dedicated Server Management (2)
  4. In the Allow Rule field, enter your IP address.
  5. Click the Add Rule / Restart button.
    SSH Connection Guide: Dedicated Server Management (3)

You are finished when you see a message stating “Your IP(s) have been added, and APF is being restarted.”

2. Connect Using PuTTY or Terminal

After adding your IP address to the firewall, you can connect to the server using a client (such as PuTTY), or directly in terminal (if you are a Linux, or Mac user). This section includes guides for both PuTTY and Terminal.

Connect Using:

  • PuTTY
  • OpenSSH
  • Terminal

Connecting to your Dedicated Server via PuTTY

  1. Download and Install PuTTY.
  2. In the Host Name (or IP address) field, enter your domain name, or the <>IP address of our Dedicated server.
  3. Click the Open button.
    SSH Connection Guide: Dedicated Server Management (4)
  4. You will see a PuTTY Security Alert, click the Accept button.
    SSH Connection Guide: Dedicated Server Management (5)
  5. When the login as message comes up, enter your username (cPanel username, or root), then click the Enter key.
    SSH Connection Guide: Dedicated Server Management (6)
  6. Enter your cpanel password (or root password if you are conecting as the root user), then click the Enter key. The password will not show when you type it.
    SSH Connection Guide: Dedicated Server Management (7)

Connecting to your Dedicated Server via Windows OpenSSH

OpenSSH is natively included with Windows 10. Use Powershell to access it:

  1. Open the Start menu and type Powershell.
  2. Select Powershell,then Run as Administrator.
  3. Continue to the Unix instructions below.

Connecting to your Dedicated Server via Terminal

  1. Open the terminal on your computer.
  2. Type ssh, followed by a space. Then your username, followed by the ‘@’ symbol, and your domain (or IP address) for the hostname and hit the Enter key. For example:ssh [emailprotected]
  3. If you see a message stating “Are you sure you want to continue connecting” type yes, then click the Enter key.
  4. You will then be prompted to enter your password. Type your password, then click the Enter key to connect. The password will not show when you type it.

Congratulations, now you know how to connect to your server via SSH! Next, consider learning how to navigate the command line structure in SSH.

JB

John-Paul BrionesContent Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Related Articles

SSH Connection Guide: Dedicated Server Management (2024)

FAQs

SSH Connection Guide: Dedicated Server Management? ›

SSH Connection Manager is SSIS Connection Manager for establishing SSH connections. Use the API to build components based on SSH Connection Manager.

How to establish SSH connection between 2 servers? ›

  1. Step 1: Generate SSH Key Pair on Server A. Log in to Server A using SSH or physical access. ...
  2. Step 2: Copy the Public Key to Server B. Use the ssh-copy-id command to copy the public key to Server B: ssh-copy-id user@serverB_IP. ...
  3. Step 3: Test the Passwordless Connection.
Sep 12, 2023

What is SSH Connection Manager? ›

SSH Connection Manager is SSIS Connection Manager for establishing SSH connections. Use the API to build components based on SSH Connection Manager.

How to setup remote SSH connection? ›

How to Connect to a Remote Server via SSH from Windows, Linux or Mac
  1. Change the Default TCP Listening Port.
  2. Use SSH Key Pairs for Authentication.
  3. Disable Password-Based Logins on Your Server.
  4. Disable Root Access.
  5. Use TCP Wrappers.
  6. Secure Login Information and Employ Multilayer Security.
Nov 23, 2023

How to connect to a dedicated server? ›

There are 2 options, via the menu lookup “remote desktop” and start it. Or click Start » Run.. and type “mstsc” without quotes and hit enter. In the window that appears type the IP of your server and click connect.

Should you use the same SSH key for multiple servers? ›

Yes, a single private key can be used to log in to multiple Linux systems. It's even recommended to do so. The process is very straightforward. When you use an utility such as ssh-keygen, this generates a so-called private/public key pair.

What is the difference between SSH and session manager? ›

Session Manager (SSM) provides more security over a SSH connection. With SSM, a port isn't exposed for SSH traffic, and it avoids any risk with users sharing keys. SSM occurs within the AWS console and it is tied to only one IAM user. In two previous articles, I covered how to connect to an EC2 via SSH and RDP.

How to manage SSH connections in Windows? ›

Open command prompt as administrator, e.g. with Windows search > “cmd.exe” > “run as administrator”. Enter CMD command ssh . Connect to the desired server with ssh name@server . If necessary, consider the port: default is port 22, change port with -pPortnumber behind the server name.

How do I run an SSH connection? ›

Connecting to your Dedicated Server via Terminal
  1. Open the terminal on your computer.
  2. Type ssh, followed by a space. ...
  3. If you see a message stating “Are you sure you want to continue connecting” type yes, then click the Enter key.
  4. You will then be prompted to enter your password.
Feb 21, 2024

How do I know if my SSH server is running? ›

You can try ssh localhost to test if it is running; if it respons with something like Connection refused , then it is not running. These commands must be run as root. If the server does not start automatically, try using the service sshd start command, or just reboot the computer.

How to SSH from one server to another? ›

To initiate an SSH connection to a remote system, you need the Internet Protocol (IP) address or hostname of the remote server and a valid username. You can connect using a password or a private and public key pair. Because passwords and usernames can be brute-forced, it's recommended to use SSH keys.

How to connect to a host using SSH? ›

For Windows
  1. Open a New Session. After launching the program, open a new session by clicking on “Session” in the upper left corner.
  2. Enter Remote Host IP and Username. Enter the IP address of the remote host in the "Remote Host" field. ...
  3. Enter Password. Enter the password and press enter. ...
  4. Successfully Logged in via SSH.

How to ssh into a server using command prompt? ›

You can start an SSH session in your command prompt by executing ssh user@machine and you will be prompted to enter your password. You can create a Windows Terminal profile that does this on startup by adding the commandline setting to a profile in your settings.json file inside the list of profile objects.

How do I connect directly to a server? ›

To connect your PC to a server, follow these steps.
  1. Open File Explorer and select This PC.
  2. Select Map network drive in the toolbar.
  3. Select the Drive drop-down menu and choose a letter to assign to the server.
  4. Fill in the Folder field with the IP address or hostname of the server you want to access.
Sep 7, 2022

How can I connect to my server remotely? ›

On the client computer, press Win + R, and type “mstsc” in the Run Dialog box to open the Remote Desktop connection. Step 2. Click on Show Options, and then enter the IP address and hostname of the host computer. Afterward, click Connect.

How do I enable SSH from one server to another? ›

To initiate an SSH connection to a remote system, you need the Internet Protocol (IP) address or hostname of the remote server and a valid username. You can connect using a password or a private and public key pair. Because passwords and usernames can be brute-forced, it's recommended to use SSH keys.

How to establish a connection between two servers? ›

On Server A:
  1. Generate an SSH key pair: Use the ssh-keygen command to create a private key (stored locally) and a public key (to be shared with Server B). ...
  2. Copy the public key to Server B: Use the ssh-copy-id command to copy the public key to the authorized keys file of the user on Server B you want to connect to.
Feb 12, 2024

How to check SSH connection between two servers? ›

To Test the SSH Setup on a Host
  1. From another host, use SSH to log in into the host that you are testing as the SSH user. $ ssh -l user-name host-name user-name. The user name for the SSH user's account on the host. ...
  2. In response to the prompt, type your password. If this step succeeds, your setup of SSH is complete.

How to SSH tunnel between two servers? ›

The most common method for setting up an SSH tunnel is local port forwarding. This involves accessing local network resources from your local computer by forwarding a port from your computer to a port on the SSH server. The port can then be forwarded to a port on the target computer.

Top Articles
10 Best Stock Brokers in India 2023 – Compare Top Stock Broker in India
The quiet disappearance of the safe deposit box
Hotels Near 625 Smith Avenue Nashville Tn 37203
Tlc Africa Deaths 2021
Blackstone Launchpad Ucf
Phone Number For Walmart Automotive Department
Lexington Herald-Leader from Lexington, Kentucky
1movierulzhd.fun Reviews | scam, legit or safe check | Scamadviser
Phenix Food Locker Weekly Ad
Emmalangevin Fanhouse Leak
THE 10 BEST River Retreats for 2024/2025
Xrarse
270 West Michigan residents receive expert driver’s license restoration advice at last major Road to Restoration Clinic of the year
Rls Elizabeth Nj
Over70Dating Login
Oscar Nominated Brings Winning Profile to the Kentucky Turf Cup
Nene25 Sports
Echat Fr Review Pc Retailer In Qatar Prestige Pc Providers – Alpha Marine Group
Locate At&T Store Near Me
Jellyfin Ps5
Energy Healing Conference Utah
Dwc Qme Database
Form F-1 - Registration statement for certain foreign private issuers
Www.craigslist.com Austin Tx
Chime Ssi Payment 2023
Olivia Maeday
Обзор Joxi: Что это такое? Отзывы, аналоги, сайт и инструкции | APS
Wsbtv Fish And Game Report
Tripcheck Oregon Map
Red Sox Starting Pitcher Tonight
Sun-Tattler from Hollywood, Florida
Play 1v1 LOL 66 EZ → UNBLOCKED on 66games.io
Truis Bank Near Me
Weekly Math Review Q4 3
Black Adam Showtimes Near Amc Deptford 8
Oreillys Federal And Evans
Temu Y2K
Clima De 10 Días Para 60120
Amc.santa Anita
10 Types of Funeral Services, Ceremonies, and Events » US Urns Online
UWPD investigating sharing of 'sensitive' photos, video of Wisconsin volleyball team
Every Type of Sentinel in the Marvel Universe
17 of the best things to do in Bozeman, Montana
Blog Pch
Sleep Outfitters Springhurst
786 Area Code -Get a Local Phone Number For Miami, Florida
Samantha Lyne Wikipedia
sin city jili
Pulpo Yonke Houston Tx
Bumgarner Funeral Home Troy Nc Obituaries
Unbiased Thrive Cat Food Review In 2024 - Cats.com
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 5740

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.