If you use a VPS or dedicated server, the most common and secure way to manage it from the command line is through the SSH (Secure Shell) protocol. SSH lets you access a remote server over an encrypted connection and run commands directly on it.
An SSH connection encrypts all communication, including your username and password. This means that even if someone intercepts the traffic, they cannot read its contents. SSH also supports key-based authentication instead of passwords, using a key pair, which is significantly more secure than password-based logins.
To connect, you need your server's IP address along with a username and either a password or an SSH key. macOS and Linux users can open the Terminal application and run the following command:
ssh username@server_ip_address
Windows users can use an SSH client such as PuTTY, or take advantage of the built-in command-line SSH support available in recent versions of Windows.
SSH uses port 22 by default. For added security, many system administrators change this port to make it harder for automated attack bots to find and target the service. It is also recommended to use strong passwords, disable direct root login, and use key-based authentication whenever possible.
SSH is one of the fundamental building blocks of server management. While it may seem intimidating at first, learning the basic commands gives you far greater control and flexibility over your server.
SSH (Secure Shell) is a protocol that lets you connect to your server securely and with encryption through the command line. It is used for advanced server management and automation tasks.
You need the server IP address or hostname, your username, your password (or SSH key) and the port number, which is 22 by default.
In the industry, SSH access is usually given with full privileges to users who manage their own server. On shared hosting packages it may be restricted or disabled for security reasons. You can contact the ÇAP Hosting support team about your package.