After purchasing a VDS server with a Linux operating system, you will usually use an SSH connection to manage your server remotely.
SSH allows you to securely connect to VDS servers running Ubuntu, Debian, AlmaLinux, Rocky Linux, and other Linux distributions over the internet. Once connected, you can execute commands, manage files, install software, and configure your server remotely.
In this guide, we explain step by step how to connect to a Linux VDS server via SSH from Windows, macOS, and Linux computers.
SSH stands for Secure Shell. It is a network protocol that provides an encrypted connection to a remote server.
It is one of the most commonly used methods for remotely managing Linux servers.
When you establish an SSH connection, you usually manage your server through a command-line interface rather than a graphical desktop.
Using SSH, you can:
Manage files and directories
Install software and packages
Configure web servers
Install PHP and database systems
Manage user accounts
Start or stop server services
Configure security settings
Monitor system resources
Install system updates
Before establishing an SSH connection, you need the connection details of your VDS server.
You will generally need:
Server IP address
Username
Password or SSH key
SSH port
The administrator account used on a Linux VDS may vary depending on the operating system and server configuration.
Some systems allow direct access using the root account, while others require you to log in with a standard user account and use the sudo command when administrator privileges are required.
Example connection details:
IP Address: 192.0.2.10
Username: root
SSH Port: 22
Password: The server password provided to you
These details are only examples. You must use the connection information provided for your own VDS server.
The default port used by the SSH service is:
TCP 22
However, your server may be configured to use a different SSH port.
If a custom port is specified in your server connection details, you must use that port when connecting.
Modern versions of Windows generally include a built-in SSH client. This means you usually do not need to install additional software for a basic SSH connection.
Open the Start menu and search for:
Windows Terminal
or:
PowerShell
Open the application to access the command line.
If your server allows connections using the root account, use:
ssh root@SERVER_IP_ADDRESS
For example:
ssh root@192.0.2.10
Then press Enter.
If your server uses a standard user account instead of root, replace root with the username provided to you.
For example:
ssh user@192.0.2.10
When connecting to a server for the first time, your terminal may display a message indicating that the identity of the remote host has not previously been verified.
Before continuing, make sure the IP address belongs to your VDS server.
If your hosting provider has supplied the server's SSH host key fingerprint, you can compare it with the fingerprint displayed on your screen for additional verification.
After confirmation, the server's key may be added to the known hosts list on your computer.
During the connection process, SSH may ask for your account password.
When entering the password, you will normally not see:
Letters
Dots
Asterisks
on the screen.
This is normal and does not indicate a problem. SSH terminals generally hide password characters for security purposes.
Type your password and press Enter.
If the credentials are correct, you will be connected to your Linux VDS server.
If your server uses a port other than the default port 22, you can specify the port using the -p parameter.
For example, if your SSH port is 2222:
ssh root@192.0.2.10 -p 2222
Replace 2222 with the SSH port configured for your server.
Mac users can connect directly to Linux VDS servers using the built-in Terminal application.
Open Terminal and enter:
ssh root@SERVER_IP_ADDRESS
For example:
ssh root@192.0.2.10
If your server uses a custom SSH port:
ssh root@192.0.2.10 -p 2222
During the first connection, you may be asked to verify the server identity before entering your password.
The connection process is very similar on a Linux computer.
Open the Terminal application and enter:
ssh username@SERVER_IP_ADDRESS
For example:
ssh root@192.0.2.10
If the SSH client is not installed on your computer, you may need to install the OpenSSH client package according to your Linux distribution.
Yes.
PuTTY or similar SSH clients can be used, particularly on older Windows systems or by users who prefer a graphical interface.
The basic connection settings are generally:
Host/IP: Your server IP address
Port: 22 or your custom SSH port
Connection Type: SSH
After starting the connection, enter your username and password when requested.
Once the connection is established, the server's command-line interface will appear in your terminal.
For example, if you are connected as root, you may see something similar to:
root@server:~#
If you are using a standard account, you may see:
user@server:~$
Commands entered from this point are executed on your remote VDS server.
For this reason, you should be particularly careful when executing commands with administrator privileges.
On Linux systems, root is the administrator account with the highest level of system privileges.
The root user can:
Modify system files
Install and remove software
Manage users
Configure services
Change firewall settings
Modify system configurations
Root privileges should therefore be used carefully.
An incorrect command may cause services to stop working, result in data loss, or make your server inaccessible.
Some Linux distributions disable direct SSH access for the root account.
In these configurations, you log in using a standard user account and use sudo when administrator privileges are required.
For example, on an Ubuntu-based system you may update the package list with:
sudo apt update
The user account must have permission to use sudo.
SSH connections can use SSH keys instead of a username and password combination for authentication.
This system generally consists of two keys:
Private Key: Stored securely on the user's computer.
Public Key: Added to the remote server.
When configured correctly, SSH key authentication can provide stronger authentication than password-only access.
Your private key should never be shared with other people.
If you cannot establish an SSH connection, check the following items.
Make sure you are using the correct IP address assigned to your server.
The default SSH port is TCP 22, but your server may use a custom port.
Your server may not allow direct root login.
If another username was provided with your server details, use that account instead.
Remember that passwords are case-sensitive.
If you copied the password, make sure there are no additional spaces before or after it.
You cannot establish an SSH connection if your VDS is powered off.
Check the status of your server through your VDS management panel.
A firewall may be blocking incoming connections to the SSH port.
Make sure the required SSH port is accessible from the appropriate network sources.
If the server is running but the SSH service has stopped, remote SSH connections may not be possible.
If your hosting provider offers console, VNC, or another recovery access method, you may be able to use it to access the server and check the SSH service.
If you receive:
Connection refused
the destination server may be reachable, but no service is accepting connections on the specified port.
Possible causes include:
Incorrect SSH port
SSH service is not running
Incorrect SSH configuration
The:
Connection timed out
error means that no response was received within the expected period.
Possible causes include network connectivity issues, firewall rules, an incorrect IP address, or an inaccessible server.
If SSH displays:
Permission denied
authentication has generally failed.
Check your:
Username
Password
SSH key
You should also verify that the server allows the authentication method you are attempting to use.
To safely end your SSH session, enter:
exit
and press Enter.
The SSH session will close and you will return to the terminal on your own computer.
Closing an SSH connection does not shut down your VDS server.
Your server will continue running in the data center.
An internet-accessible SSH service can be targeted by automated login attempts. Applying appropriate security measures is therefore important.
Depending on your server and use case:
Use strong and unique passwords.
Use SSH key authentication where possible.
Keep the operating system up to date.
Disable unused user accounts.
Configure firewall rules.
Restrict SSH access to trusted IP addresses where practical.
Consider restricting direct root SSH access.
Keep SSH private keys secure.
Monitor failed login attempts and system logs.
Changing the default SSH port may reduce noise from automated scanning, but it should not be considered a complete security solution on its own.
The default SSH port is TCP 22. A server administrator can configure SSH to use a different port.
Yes. Modern Windows systems allow SSH connections through Windows Terminal or PowerShell. Third-party SSH clients such as PuTTY can also be used.
No. This is normal. SSH terminals usually do not display characters while a password is being entered. Type your password and press Enter.
No. Closing your SSH session only ends the remote terminal connection. Your VDS server continues running.
No. Depending on the server configuration, you can connect using a standard user account and use sudo for administrative operations.
Properly configured SSH keys generally provide a strong authentication method and are often preferred for internet-accessible servers.
SSH is one of the most widely used methods for remotely managing Linux VDS servers.
You can establish an SSH connection from Windows, macOS, or Linux using your server's IP address and user credentials.
Once connected, you can manage your server, install software, perform updates, configure web services, and carry out many system administration tasks through the command line.
Because SSH access can provide extensive control over your server, it is important to use strong authentication methods, properly configure access rules, and regularly maintain server security.
Using the connection details provided with your İde Bilişim VDS service, you can connect to your Linux server via SSH and configure it according to your project's requirements.