SSH Commands: The Practical Guide for Developers and Site Owners Updated on November 17, 2025 by Scott Mitchell SSH commands let you securely control your server right from the terminal. You can move between folders, manage files, check logs, and even automate tasks without using a control panel. This guide walks you through 17 essential SSH commands with clear examples and tips to keep your hosting environment fast, safe, and efficient.
A Complete SSH Tutorial for Beginners Updated on September 23, 2025 by Jesse Owens Start with this beginner-friendly ssh tutorial to manage servers securely and confidently. You’ll learn what SSH is, how it works, and how to log in on macOS, Linux, or Windows. The guide covers generating and protecting SSH keys, creating strong passphrases, and using shell commands for real tasks. We also explain best practices like disabling root login, restricting access, and using Fail2ban, plus quick fixes for common errors.
How to Edit & Create a File in SSH Using Nano Updated on November 4, 2021 by InMotion Hosting Contributor If you are using the linux command line, there are several programs for you to use to edit files in SSH. This is a convenient way to modify files since you can quickly change them in terminal without using a separate text editor. Here at InMotion Hosting, our System Administration team primarily uses programs called Read More >
Is My Root User Hidden? Updated on March 11, 2021 by Christopher Maiorana The root user is a sort of “superuser” that can perform advanced system administrative tasks on your system. If you have a VPS or Dedicated Server plan you can use the root user to perform tasks that other users (such as your cPanel user) do not have the privilege of performing. Is My Root User Read More >
VIM Text Editor (Basics) Updated on December 22, 2023 by InMotion Hosting Contributor Vim is the successor of the vi terminal text editor with a long list of powerful features. Short for “Vi IMproved,” Vim is sometimes pre-installed on popular, staple Linux distributions such as CentOS and Debian. For others including Linux Mint, you might instead have the original vi or vim.tiny, a slimmed down variant of Vim Read More >
What is MTR and How to Test Network Performance Updated on August 16, 2021 by InMotion Hosting Contributor MTR combines the purpose of ping and tracert/traceroute. MTR visualizes performance and latency issues across every machine, or hop, between your local machine and the destination. MTR can help answer the following questions: Is my server slow? If the issue isn’t my server, which hop is? Does a hop have intermittent packet loss? Do I Read More >
How to Check if a Port is Blocked with Telnet Updated on August 16, 2021 by InMotion Hosting Contributor We recommend using Netcat / Ncat, or Nmap for multiple ports instead, as Telnet is NOT encrypted and therefore insecure. The Telnet command line tool tests port connections with your local network router, servers, and websites. For example, Telnet can help you see why the email is being rejected. Telnet is pre-installed on many Windows, Read More >
How to Do a Basic Port Scan with Nmap Updated on November 2, 2021 by InMotion Hosting Contributor Closing unnecessary ports on your server is an important process for PCI compliance and server hardening in general. This reduces what information cyber attackers can easily gather about your web server and services to exploit. This also applies to Small Office / Home Office (SOHO) networks. To scan your local network, you need to know Read More >
How to Find Your Local Router IP Address in the Terminal Updated on August 16, 2021 by InMotion Hosting Contributor You can use your local router’s internal IP address to test if a port is blocked by your local network, internet service provider (ISP), or virtual private network (VPN). Most operating systems (OSs) – Windows, macOS, Linux, BSD, etc. – with a graphical user interface (GUI) have pre-installed software that can give you this information. Read More >
How to Blacklist/Whitelist IP Address via SSH Updated on April 17, 2024 by InMotion Hosting Contributor As we continue our series on the cPHulk security features, we will show you the steps to blacklist and whitelist IP addresses via SSH. In the last guide we showed you how to blacklist and whitelist IP addresses in the Web Host Manager or WHM. But doing this with command line using SSH can save Read More >
How to Lookup a CNAME via SSH Updated on August 16, 2021 by InMotion Hosting Contributor In this tutorial, we will show you how to lookup a CNAME record using SSH. This can be an important step when troubleshooting redirect issues. Performing this test via SSH can save time, since it can be done right in a terminal. We also have a helpful guide on how to create a CNAME record. Read More >
Verify File Checksums with SSH Updated on November 19, 2021 by InMotion Hosting Contributor After downloading a file, it’s always helpful to validate it to ensure its not corrupt or malicous. You can accomplish this by comparing checksums – md5sum, sha1, sha256, sha512, etc. – against the original file if its published on the official website. You can use your computer, SSH, and websites such as VirusTotal.com to achieve Read More >
Installing LEMP-Stack on CentOS7 Updated on July 16, 2021 by Kyle McClammy This guide will show you the steps needed to install a basic LEMP stack on your Non-cPanel server running CentOS. All the commands shown will need to be run as root on your server via SSH. Installing LEMP Stack Connect to your server as the root user via SSH. Before installing we need to ensure Read More >
How to Add SSH Keys to Your GitHub Account Updated on February 5, 2025 by Jesse Owens GitHub offers a convenient SSH key feature for accessing your repositories on the command line. Instead of using usernames and passwords every time you push to or pull from your repository, you can use your key. In this article we’ll learn how to add SSH keys to your GitHub account. Why use an SSH key? Read More >
How to Use SCP For Secure File Transfer Updated on November 7, 2025 by Christopher Maiorana In this article, we will show you how to use SCP for secure file transfer between your local computer and your InMotion Hosting server. SCP, or Secure Copy Protocol, uses SSH to make a secure connection between the local host and the server. This means that in order to complete a safe, secure file transfer, Read More >
How to Create a Strong Passphrase for SSH Updated on February 11, 2022 by Christopher Maiorana You might be wondering what passphrases are, how they’re different from passwords, and how you can use them effectively. Most simply, passwords are used to secure credentials for most of the services and devices you log into regularly. These services can be anything from cPanel, AMP, or your favorite social media applications. In this article, Read More >
How to View MariaDB Databases Using the Command Line Updated on February 7, 2025 by Derrell MariaDB is a drop-in replacement for MySQL, meaning you can use the same commands to manage databases. If you prefer working from the command line instead of using a graphical interface like phpMyAdmin, this guide will show you how to list databases, select a database, view tables, and display records using MariaDB commands in SSH. Read More >
How to Generate SSH Keys Updated on January 31, 2023 by InMotion Hosting Contributor Secure Shell (SSH) access grants you command-line interface (CLI) access to your web server. One of the major advantages of SSH is a secure, remote connection to your server. The SSH program uses a password to connect, but it is more secure to use SSH keys, or SSH key pairs. This is a type of Read More >
How to use Port Knocking Updated on August 16, 2021 by InMotion Hosting Contributor Note that you will require root access in order to use these directions. This tutorial will go over how to use port knocking which will be considered an advanced guide and does require you to have root access and have CSF installed on your server. Port knocking is the act of opening ports on your Read More >
When Do I Need Root Access? Updated on February 24, 2022 by Scott Mitchell There are many different features found in Web Host Manager (WHM) that are useful in maintaining your dedicated server. However, not all of them are available to the default user you were given when you signed up. Determining what requires root access can be complicated. We take the guesswork out of that with the chart Read More >