Linux server products do not include a graphical management interface by default, so you connect to and manage them using an SSH client (command line). There are many SSH clients to choose from. Below is an overview of some well-known and commonly used SSH clients.
The following explains how to connect using the PuTTY SSH client. In the configuration window, enter the server's IP address as the Hostname and use SSH port 22. Then click the Open button to start the connection.
SSH password login is enabled by default. If you want to log in exclusively with an SSH key, you can disable password login in the Access tab for your VPS in the ZapX dashboard.
The first time you connect to the server, PuTTY displays a security alert informing you that no host key has been saved in the registry cache yet. You can confirm this by clicking Yes if you don't want to see the alert again on every connection.
This opens the SSH console and prompts you to enter a username and password. The username is "root". You can find and change your password in the ZapX dashboard under the Access tab, in the Server Access card (click the eye icon to show it).
To get the most out of your SSH client, it's important to know the basic commands. Below is a general overview of the relevant commands and what they do:
| Command | Description | Syntax |
|---|---|---|
| useradd | Create a new user | useradd [Optionen] [Benutzer] |
| usermod | Edit an existing user | usermod [Optionen] [Benutzer] |
| userdel | Delete an existing user | userdel [Optionen] [Benutzer] |
| passwd | Change the password of an existing user | passwd [Optionen] |
| Command | Description | Syntax |
|---|---|---|
| top | Overview of system load, processes, and other information (similar to Windows Task Manager) | top |
| df | Show disk space usage (partitions) | df -h |
| du | Show disk space usage (directories) | du -sh * |
| free | System memory usage, split between RAM and SWAP | free |
| kill | Stop the process with the specified process ID (PID) | kill [ID] |
| killall | Stop all processes with the specified name | killall [Name] |
| mv | Move files or directories to another location | mv Quellpfad Zielpfad |
| mkdir | Create a new directory | mkdir Verzeichnisname |
| service | Start, stop, or restart a service, or check its status | service Dienstname start/stop/restart/status |
| reboot | Restart the system | reboot |
| Command | Description | Syntax |
|---|---|---|
| ls | List files and folders in a directory | ls |
| cd | Change directory | cd [OPTION] VERZEICHNIS |
| cp | Copy files or directories | cp [OPTIONEN] QUELLE ZIEL |
| mv | Move a file or directory | mv [OPTION] QUELLE ZIEL |
| mkdir | Create a new directory | mkdir [OPTION] VERZEICHNISNAME |
| rmdir | Delete an existing directory | rmdir [OPTION] VERZEICHNIS |
| find | Search the file system | find [OPTIONEN] [VERZEICHNIS] [AKTIONEN] |
| grep | Search text files | grep [OPTIONEN] SUCHMUSTER [DATEI(EN)] |
| Command | Description | Syntax |
|---|---|---|
| ip | Query and configure network interfaces | ip [OPTIONEN] OBJEKT [BEFEHL [ARGUMENTE]] |
| netstat | Check the status of network interfaces | netstat [OPTIONEN] |
| nslookup | Query DNS information | nslookup |
| ping | Check the network connection | ping [OPTIONEN] ZIEL |