Skip to content

VPS: First Access via SSH

Discover popular SSH clients for managing Linux servers from the command line and learn how to connect securely with PuTTY → Learn more

10 November 20263 min read0 Views0 helpful

Introduction

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.

SSH clientSupported operating systemsOpen sourceDownload
PuttyWindows, LinuxYesClick
KittyWindows, LinuxYesClick
MobaXtermWindows, LinuxYesClick
SecureCRTWindows, Linux, MacNoClick
mRemoteNGWindowsYesClick

Administration via SSH

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:

User management

CommandDescriptionSyntax
useraddCreate a new useruseradd [Optionen] [Benutzer]
usermodEdit an existing userusermod [Optionen] [Benutzer]
userdelDelete an existing useruserdel [Optionen] [Benutzer]
passwdChange the password of an existing userpasswd [Optionen]

System management

CommandDescriptionSyntax
topOverview of system load, processes, and other information (similar to Windows Task Manager)top
dfShow disk space usage (partitions)df -h
duShow disk space usage (directories)du -sh *
freeSystem memory usage, split between RAM and SWAPfree
killStop the process with the specified process ID (PID)kill [ID]
killallStop all processes with the specified namekillall [Name]
mvMove files or directories to another locationmv Quellpfad Zielpfad
mkdirCreate a new directorymkdir Verzeichnisname
serviceStart, stop, or restart a service, or check its statusservice Dienstname start/stop/restart/status
rebootRestart the systemreboot

File management

CommandDescriptionSyntax
lsList files and folders in a directoryls
cdChange directorycd [OPTION] VERZEICHNIS
cpCopy files or directoriescp [OPTIONEN] QUELLE ZIEL
mvMove a file or directorymv [OPTION] QUELLE ZIEL
mkdirCreate a new directorymkdir [OPTION] VERZEICHNISNAME
rmdirDelete an existing directoryrmdir [OPTION] VERZEICHNIS
findSearch the file systemfind [OPTIONEN] [VERZEICHNIS] [AKTIONEN]
grepSearch text filesgrep [OPTIONEN] SUCHMUSTER [DATEI(EN)]

Network management

CommandDescriptionSyntax
ipQuery and configure network interfacesip [OPTIONEN] OBJEKT [BEFEHL [ARGUMENTE]]
netstatCheck the status of network interfacesnetstat [OPTIONEN]
nslookupQuery DNS informationnslookup
pingCheck the network connectionping [OPTIONEN] ZIEL

FAQ

Frequently asked questions

Options include PuTTY, KiTTY, MobaXterm (all open source, Windows/Linux), SecureCRT (paid, Windows/Linux/Mac), and mRemoteNG (open source, Windows).
SSH uses port 22 by default. Enter it along with your server's IP address in the SSH client.
Yes. 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.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.