How to Connect to a VPS Using SSH: A Step-by-Step Guide

Connecting to a virtual private server for the first time can feel technical, but the process is straightforward once you have the correct login details. Secure Shell, better known as SSH, gives you an encrypted way to access and manage a remote server from your computer.

In this guide, DigitalBerg explains how to connect to a VPS using SSH from Windows, macOS and Linux. You will also learn how to use a password or private key, connect through a custom SSH port and solve common connection errors.

What Is SSH?

SSH stands for Secure Shell. It is a network protocol used to create an encrypted connection between your local computer and a remote server. Once connected, you can run commands, install software, upload files, configure websites, review logs and perform other administrative tasks.

SSH is commonly used to manage a Linux VPS. A Windows VPS can also accept SSH connections when OpenSSH Server is installed and enabled, although many Windows server users still use Remote Desktop Protocol (RDP) for graphical access.

What You Need Before Connecting to a VPS

Before starting your VPS SSH connection, collect the following information from your hosting account or welcome email:

  • VPS IP address: The public IPv4 or IPv6 address of your server.
  • SSH username: Common examples include root, ubuntu, debian or a custom administrator username.
  • Authentication details: Either the account password or an SSH private key.
  • SSH port: The default port is 22, but your provider or server administrator may use a custom port.
  • An SSH client: Windows 10/11, macOS and most Linux distributions include an OpenSSH client. PuTTY is another option for Windows.

Never share your VPS password or private key. If you are unsure about any login detail, confirm it in your hosting control panel before repeatedly attempting to connect.

How to Connect to a VPS Using SSH on Windows

Modern Windows versions include an OpenSSH client, so you can connect through Windows Terminal, PowerShell or Command Prompt without installing extra software.

Step 1: Open a Terminal

Open the Start menu and search for Windows Terminal, PowerShell or Command Prompt.

Step 2: Enter the SSH Command

Use this command, replacing the example username and IP address with your own:

ssh username@server_ip

For example:

ssh [email protected]

Step 3: Verify the Server Fingerprint

During your first connection, SSH may warn you that the authenticity of the host cannot be established. Compare the displayed fingerprint with the fingerprint supplied by your VPS provider or administrator. If it matches, enter:

yes

This adds the server to your computer’s list of known hosts. Do not approve an unexpected changed fingerprint until you have verified why it changed.

Step 4: Enter Your Password

Type the VPS password and press Enter. The terminal usually does not display characters, dots or asterisks while you type. This is normal.

If the details are correct, the remote server’s command prompt will appear. You are now connected to your VPS using SSH.

How to Connect to a VPS Using SSH on macOS or Linux

macOS and most Linux distributions include an SSH client by default.

  1. Open Terminal.
  2. Run ssh username@server_ip.
  3. Verify the host fingerprint when prompted.
  4. Enter your password or SSH-key passphrase.

Example:

ssh [email protected]

When your remote shell prompt appears, the SSH connection is active.

How to Connect Through a Custom SSH Port

If your server does not use port 22, add the uppercase-sensitive -p option followed by the custom port number:

ssh -p 2222 username@server_ip

Example:

ssh -p 2222 [email protected]

Changing the port does not replace strong security controls, but it can reduce automated connection noise. Make sure the selected port is allowed by the server firewall and any cloud firewall or security group.

How to Connect to a VPS With an SSH Key

SSH key authentication is generally safer and more convenient than relying only on a password. A key pair contains:

  • A public key, which is stored on the VPS.
  • A private key, which stays securely on your computer.

The private key should never be emailed, posted online or uploaded to an untrusted service.

Generate a New SSH Key Pair

Run this command on your local computer:

ssh-keygen -t ed25519 -C "[email protected]"

Choose where to save the key and protect it with a strong passphrase. The default location is normally suitable for most users.

Add the Public Key to the VPS

On Linux or macOS, you may be able to copy the key with:

ssh-copy-id username@server_ip

Alternatively, copy the contents of your .pub file and add them to this file under the remote user’s account:

~/.ssh/authorized_keys

Your hosting control panel may also provide an SSH-key section where you can add the public key before creating or rebuilding the VPS.

Connect With a Specific Private Key

If the private key is not stored under its default name or location, specify it with -i:

ssh -i /path/to/private_key username@server_ip

Windows example:

ssh -i C:\Users\YourName\.ssh\digitalberg_key [email protected]

macOS or Linux example:

ssh -i ~/.ssh/digitalberg_key [email protected]

Using PuTTY to Connect to a VPS on Windows

If you prefer a graphical application, PuTTY remains a practical SSH client for Windows.

  1. Download PuTTY from its official website and install it.
  2. Open PuTTY.
  3. Enter the VPS IP address in Host Name.
  4. Enter the SSH port, normally 22.
  5. Select SSH as the connection type.
  6. Click Open.
  7. Verify the host key, then enter your username and password.

For key-based login, select your private key in Connection > SSH > Auth > Credentials before opening the connection. Depending on the PuTTY version and how the key was created, you may need a compatible PPK private-key file.

Can You Use SSH With a Windows VPS?

Yes, you can connect to a Windows VPS using SSH if OpenSSH Server is installed, running and permitted through the firewall. However, SSH provides command-line access; it does not display the normal Windows desktop.

Use SSH when you need secure command-line administration, scripting or file transfers. Use RDP when you need the graphical Windows interface. If the Windows VPS only has RDP enabled, an SSH connection will fail until OpenSSH Server is configured.

Useful SSH Commands After Login

Once connected, these basic Linux commands can help you inspect the VPS:

pwd             # Show the current directory
ls -la          # List files, including hidden files
cd /path        # Change directory
whoami          # Show the current user
hostname        # Show the server hostname
uptime          # Show uptime and load averages
df -h           # Show disk usage
free -h         # Show memory usage
exit            # Close the SSH session

Be careful with commands copied from unknown websites, especially when logged in as root. A command executed with administrator privileges can modify or delete critical server data.

Common VPS SSH Connection Errors and Fixes

Connection Timed Out

A timeout usually means your computer cannot reach the SSH service. Check the server IP address, SSH port, local internet connection and firewall rules. Also confirm that the VPS is powered on.

Connection Refused

This often means the server is reachable, but no SSH service is listening on that port. Confirm that the SSH service is running and that you are using the correct port.

On an Ubuntu or Debian server with console access, an administrator can check:

sudo systemctl status ssh

Permission Denied

The username, password or private key may be incorrect. Confirm the correct username and make sure the public key is installed for that same user. Also check that the server allows the authentication method you are trying to use.

Private Key Permissions Are Too Open

OpenSSH may reject a private key that other users can read. On macOS or Linux, restrict its permissions:

chmod 600 ~/.ssh/private_key

Host Key Has Changed

This warning can appear after a VPS rebuild or IP reassignment, but it can also indicate a security risk. Verify the new fingerprint through a trusted source before removing the old entry from known_hosts.

Use Verbose Mode for Troubleshooting

Verbose output shows which stage of the SSH connection is failing:

ssh -v username@server_ip

For deeper diagnostics, use -vv or -vvv, but review the output before sharing it because logs may reveal usernames, paths or server details.

SSH Security Best Practices for VPS Users

  • Prefer SSH keys over password-only authentication.
  • Protect every private key with a strong passphrase.
  • Keep your operating system and OpenSSH packages updated.
  • Use a non-root administrative account where practical.
  • Restrict SSH access with firewall rules when possible.
  • Consider rate limiting or tools such as Fail2ban to reduce repeated login attacks.
  • Disable password authentication only after confirming that key-based login works in a second session.
  • Keep a provider console or recovery method available before changing SSH settings.
  • Back up important data and configuration files before making server-level changes.

If you change SSH configuration, test the new login in a separate terminal before closing your existing session. This simple step can prevent an accidental lockout.

Why Choose DigitalBerg VPS Hosting?

A well-managed VPS gives you more control, dedicated resources and room to grow compared with basic shared hosting. DigitalBerg provides VPS hosting options for websites, business applications, development environments and other online workloads. Whether you need a Linux VPS for command-line control or a Windows VPS for Windows-based software, choose resources and an operating system that match your technical requirements.

Before ordering, consider CPU, RAM, SSD storage, bandwidth, operating system, management level, backups and the applications you plan to run. The right VPS plan should support your present workload while leaving reasonable capacity for future growth.

Conclusion

To connect to a VPS using SSH, you need the server IP address, username, SSH port and either a password or private key. Open a terminal, run ssh username@server_ip, verify the host fingerprint and authenticate. For a custom port, add -p; for a specific private key, add -i.

SSH gives you secure, direct control over a remote server, making it an essential tool for Linux VPS administration and a useful option for a properly configured Windows VPS. If a connection fails, check the address, port, firewall, SSH service and authentication details one at a time.

Frequently Asked Questions

What is the default SSH port for a VPS?

The default SSH port is 22. If your hosting provider or administrator uses a custom port, connect with ssh -p PORT username@server_ip.

Can I connect to a VPS using SSH from Windows?

Yes. Windows 10 and Windows 11 normally provide an OpenSSH client that works through Windows Terminal, PowerShell or Command Prompt. You can also use PuTTY.

Why is my VPS password not visible while I type it?

Most terminal-based SSH clients do not show characters or asterisks for passwords. Type the password carefully and press Enter.

Is SSH available on a Windows VPS?

It is available when OpenSSH Server is installed, running and allowed through the Windows firewall. SSH provides command-line access, while RDP provides graphical desktop access.

Is an SSH key better than a password?

SSH keys are generally more resistant to guessing and automated password attacks. Protect the private key with a passphrase and never share it.

How do I disconnect from a VPS?

Run exit and press Enter. You can also press Ctrl+D in most shells.

Unmetered Dedicated Server UK: A Practical Guide to Hosting, Bandwidth and Costs

Choosing an unmetered dedicated server UK plan starts with understanding two things: how much network capacity your application needs and what the provider means by unmetered. A server can offer transfer without a monthly volume-based allowance while still having a fixed connection speed, acceptable-use rules and other service conditions.

That distinction matters when you run a busy website, deliver large files or host an application with changing traffic. You need enough capacity during peak periods, not just an attractive bandwidth label.

This guide explains unmetered dedicated server hosting in simple terms. It covers port speeds, UK server location, hardware, management, costs and the questions to ask before placing an order.

DigitalBerg offers dedicated server products and publishes network information on its product pages. You can explore its dedicated server hosting while using the checklist below to compare the configuration and terms you need.

What Is Unmetered Dedicated Server Hosting?

A dedicated server gives you the use of a physical machine rather than an individual hosting account on a server shared with other customers. The resources available still depend on the hardware you choose and how you configure your applications.

Unmetered dedicated server hosting generally means that eligible data transfer is not billed according to the number of gigabytes or terabytes used. Instead, network use is constrained by the agreed connection capacity and service conditions.

For example, a plan may provide unmetered transfer over a 1 Gbit/s connection. That describes a transfer arrangement and a rate limit. It does not mean that the server can send an unlimited amount of data instantly.

Check which traffic is included, whether any limits or exceptions apply, and how the arrangement is written in the order terms. The product name alone is not a complete service specification.

Unmetered does not mean unlimited speed

Think of the connection as a road. Its capacity determines how much traffic can move at once. Removing a monthly mileage allowance does not add extra lanes.

Likewise, an unmetered connection still has a maximum rate. Your application, the provider’s network and the recipient’s connection can all affect the transfer actually achieved.

Unmetered does not mean unrestricted use

Providers can apply acceptable-use conditions to unmetered products. Before ordering, explain the workload you intend to run and ask whether it is permitted on the selected plan.

Review DigitalBerg’s Acceptable Use Policy alongside the product description. This is particularly useful for projects involving large-scale distribution or unusual network requirements. Hosting Rules and Guidelines

Metered, Unmetered and Unlimited Bandwidth Compared

These labels are often used together, but they do not always describe the same arrangement.

Term What it commonly describes What to confirm
Metered transfer An included volume of data, often measured per month Allowance, traffic counted and overage charges
Unmetered transfer Eligible traffic is not charged according to transferred volume Connection rate, sustained-use conditions and exclusions
Unlimited bandwidth Marketing wording whose meaning depends on the provider’s policy Fair-use terms, rate limits and product-specific conditions

Avoid comparing two plans solely because both use the word unlimited. One may include a lower connection rate, while another may have different sustained-use conditions.

DigitalBerg’s dedicated-server page uses “Unlimited Bandwidth” wording and links to an Unlimited Policy. Some store listings explicitly describe unmetered transfer. Ask the team which terms apply to the exact server you intend to order. DigitalBerg

Why Port Speed and Guaranteed Bandwidth Matter

When comparing dedicated server hosting unmetered options, separate the network port specification from the capacity included in your contract.

A 10 Gbit/s network port does not automatically mean that 10 Gbit/s of sustained public internet bandwidth is included. The included transfer rate, available burst capacity and any guaranteed rate need to be checked separately.

Port speed

The port specification describes the rate supported by the relevant network interface or connection. It is an important detail, but it is not the whole performance picture.

Ask whether the advertised number refers to public connectivity, private networking or hardware capability. These are different things.

Guaranteed bandwidth

A guaranteed bandwidth figure is the rate covered by the provider’s stated commitment. Ask what is guaranteed, how it is measured and what conditions apply.

If the product page lists several network figures, request a plain explanation before ordering. This is better than discovering after migration that you interpreted a port specification as a sustained-rate commitment.

Throughput and latency

Throughput is the transfer rate you actually achieve. Latency is the delay involved in communication. Increasing available bandwidth does not automatically remove delay or make an application respond faster.

A website can have ample network capacity and still respond slowly because its database is busy or its application takes too long to process requests. Look at the complete workload rather than treating bandwidth as the answer to every performance problem.

How Much Data Can a 1 Gbit/s Connection Transfer?

Bits and bytes are different units. There are eight bits in one byte, so a nominal 1 Gbit/s connection corresponds to 125 megabytes per second before protocol overhead and other practical limits, using decimal units.

This is a theoretical conversion, not a promised download speed. Real transfer rates depend on the available path, protocol, application, storage and receiving system.

For most buying decisions, your observed peak traffic is more useful than a theoretical maximum. Check your existing monitoring records and identify when the application is busiest.

Estimate volume and peak demand separately

Suppose you offer a 100 MB file and it is downloaded 20,000 times in a month. That represents approximately 2 TB of payload transfer using decimal units, before retries and overhead.

The same monthly total could be spread across thirty days or concentrated around a launch. Those situations have different peak-capacity needs.

As a second planning example, 100 simultaneous streams at an assumed 5 Mbit/s each would require about 500 Mbit/s of payload capacity. Allow for overhead, other traffic and variation.

These examples illustrate the calculation; they do not establish an approved workload or guaranteed capacity on a DigitalBerg plan.

What Should You Check When Buying a UK Server?

For an unmetered dedicated server UK enquiry, confirm the physical location of the proposed machine. A UK business address, a GBP price or a UK-facing website does not establish where the server is hosted.

DigitalBerg’s data-centre page describes UK, European and US locations. Its dedicated-server information also refers to European or US deployment, while its instant-server range includes specifically labelled USA products. Confirm the location of your chosen configuration before ordering.

Match the location to your audience

A server closer to your users may reduce part of the network journey, but routing and the rest of the application still matter. Do not assume that a UK location alone guarantees a particular response time.

Ask for a suitable test address or another supported way to assess connectivity from your main user regions. Test from relevant networks rather than relying on a single result from your own office.

Consider the whole system

Your website may connect to databases, payment services, storage or other systems located elsewhere. A UK web server does not move those dependencies automatically.

Map the services your application uses before selecting a location. A sensible decision considers communication between systems as well as communication with visitors.

If UK hosting is a project requirement, discuss the intended deployment with DigitalBerg and review its data-centre information.

Who Might Benefit From an Unmetered Dedicated Server?

This type of hosting can be worth considering when network transfer and dedicated resources are important to the workload. The right choice depends on measurements, budget and operational support.

Busy websites and online shops

An established site may need more control over its application environment or more predictable access to hardware resources. Before moving, identify whether the current limitation is network capacity, CPU, memory, storage or software configuration.

Unmetered transfer can simplify one part of the cost discussion. It does not automatically fix slow database queries or inefficient page generation.

Media and download delivery

Projects distributing authorised videos, software or other large files should consider both transfer volume and simultaneous demand.

Ask whether the intended distribution is permitted and whether the network arrangement supports its expected peak use. A content delivery network may also be relevant, depending on the application and audience.

Agencies hosting several client sites

A dedicated machine can provide control over multiple applications, but the sites still need to be managed carefully. Decide how accounts, resources, updates and backups will be separated.

Consider the effect of a single server outage on all hosted clients. Dedicated hardware does not provide a second working system by itself.

SaaS and business applications

Application teams may want control over operating systems, databases and deployment tools. Compare the server against the application’s measured resource requirements.

If traffic changes sharply or the system requires automatic failover, compare a single dedicated machine with a design using several instances or servers. Unmetered transfer is one part of that decision.

Dedicated Server or VPS: Which Is the Better Fit?

A VPS provides a virtual server environment, while a dedicated server provides the use of a physical machine. Neither is the best choice for every project.

A smaller application may not justify a full server. A VPS can be worth evaluating when its resources, network terms and management options match the workload.

A dedicated server becomes more relevant when you need a particular hardware configuration, substantial sustained resources or control over the physical host environment.

Compare CPU capability, memory, storage performance and network terms rather than comparing product labels alone. A newer, well-matched configuration can be more useful than a larger-looking specification that does not suit the application.

For a Windows-based project, DigitalBerg’s Windows VPS hosting is another option to evaluate before deciding that a dedicated server is necessary.

Choosing CPU, RAM and Storage for Your Workload

Network transfer should not distract you from the hardware running the application.

CPU

Look at the processor model and the demands of your software. Some applications benefit from strong performance per core; others can distribute work across more cores.

Avoid using core count as the only comparison. Review the current workload and, where possible, test the intended application on a representative configuration.

RAM

Allow memory for the operating system, application, database and other services. Consider peak use rather than only the average measured during quiet periods.

If memory use is rising, establish why before ordering more. A configuration change may help, but additional RAM should not be used to avoid investigating a recurring application problem.

Storage

Capacity and performance are separate considerations. Ask about the proposed drive type, usable capacity, storage arrangement and replacement process.

For a database or other storage-sensitive application, assess response times and actual I/O behaviour. For large archives, the capacity required may be a more prominent consideration.

Backups

Plan backups separately from the primary storage arrangement. Mirroring drives does not provide a historical copy that lets you recover from an accidental deletion propagated across both drives.

Ask where backups are kept, how long they are retained and how restoration works. Test recovery before treating the backup plan as complete.

Managed or Unmanaged Hosting: Agree on Responsibilities

Full root or administrator access gives you control. It does not tell you who will update, secure and maintain the software.

For an unmanaged server, you need the skills and time to operate the environment or a separate administrator who will do so.

For a managed service, ask for the exact scope. “Managed” may cover monitoring or selected tasks without including every application you install.

Before ordering, establish responsibility for:

  • Operating-system updates and software patching.
  • Firewall configuration and administrator access.
  • Application and database maintenance.
  • Monitoring and incident response.
  • Backup configuration and recovery.
  • Licence management and renewals.

A written division of responsibilities helps avoid gaps when something needs attention.

What Does Unmetered Dedicated Server Hosting Cost?

Compare the complete recurring cost, not only the advertised server rental.

The price may be affected by hardware, network capacity, operating-system licensing, control panels, management, backups and other selected services.

Ask whether VAT is included and whether the amount shown is introductory or recurring. Confirm the renewal, cancellation and upgrade terms before ordering.

Clarify the bandwidth agreement

If the plan is sold as unmetered, ask for confirmation of which transfer is included without volume-based billing. Establish whether any separate services or exceptions carry transfer charges.

DigitalBerg’s general policies include allocated-transfer and overage wording alongside product pages advertising unlimited or unmetered transfer. Get written clarification for your chosen product rather than applying a general statement to every plan. Hosting Rules and Guidelines

Include operating costs

Your budget should also account for the work needed to run the server. Administration time, software licences, off-server backups and migration can affect the total.

A higher-capacity server may be worthwhile for a measured need. Paying for unused capacity without an operational plan is less useful.

Migration: Plan the Move Before Changing Live Traffic

Moving to unmetered dedicated server hosting should be treated as an application migration, not simply a change of IP address.

Start with an inventory of websites, databases, email services, scheduled jobs, certificates and external integrations. Identify anything that depends on the existing address or environment.

Prepare the destination, copy the data and test the application before switching production traffic. For changing databases, decide how the final data synchronisation will be handled.

Keep a rollback plan and confirm how backups will be used if the move fails. Allow for verification after the switch, including scheduled tasks and integrations that are easy to overlook during a homepage test.

A Buying Checklist for Dedicated Server Hosting Unmetered Plans

Before paying, get clear answers to these questions:

  1. Where will this particular server be physically hosted?
  2. What are the exact CPU, RAM and storage specifications?
  3. What public port rate and sustained bandwidth are included?
  4. Is any bandwidth guaranteed, and under what conditions?
  5. Which traffic is covered by the unmetered arrangement?
  6. Are there fair-use conditions or workload restrictions?
  7. Which management tasks are included?
  8. How are backups configured and restored?
  9. What are the applicable support and hardware-replacement terms?
  10. What is the full recurring price, including selected extras and tax?
  11. What are the provisioning, upgrade and cancellation arrangements?

Keep the answers with your order records. This makes later decisions about capacity and upgrades easier.

Explore Dedicated Server Options With DigitalBerg

DigitalBerg’s dedicated server range lists different hardware configurations and hosting options. Its instant dedicated servers USA page provides a separate, explicitly US-labelled range.

Choose the product by location, workload and confirmed terms. A US listing should not be treated as a UK-hosted server simply because its price is displayed in pounds.

When making an enquiry, share your preferred location, current resource use, expected peak traffic, software and management requirements. These details support a more useful discussion than asking for the largest bandwidth number available.

Frequently Asked Questions

What does an unmetered dedicated server UK plan mean?

It generally describes a UK-hosted physical server with eligible transfer that is not billed by volume. Confirm the actual server location, connection rate and product-specific terms before ordering.

Is unmetered bandwidth the same as unlimited speed?

No. The connection still has a finite capacity. Unmetered usually concerns the transfer billing arrangement, while throughput is the rate actually achieved.

Does a 10 Gbit/s port include 10 Gbit/s of sustained bandwidth?

Not necessarily. Ask whether the figure describes hardware capability, public connectivity, private networking or included sustained capacity.

Is unmetered hosting always cheaper than metered hosting?

No. Compare the complete cost using your expected transfer and resource needs. A lower-volume project may find a suitable metered plan more economical.

Can I use a dedicated server for downloads or media?

Discuss the intended workload with the provider. Confirm acceptable-use conditions, peak network capacity, storage and the rights to distribute the content.

Will unmetered hosting make my website faster?

It may help if the existing transfer arrangement is a limitation, but performance also depends on the application, hardware, network path and visitor connection. Measure the bottleneck first.

Does DigitalBerg offer UK server locations?

Its data-centre page describes UK locations alongside European and US locations. Confirm UK deployment and current availability for the specific dedicated-server product you want.

Are backups and management automatically included?

Check the selected product and service scope. Establish the backup capacity, retention, restoration process and management responsibilities before relying on them.

Find the Right Server for Your Project

The strongest hosting choice matches your workload with clear network terms, suitable hardware and an operational plan.

For an unmetered dedicated server UK enquiry, contact DigitalBerg with your application details, preferred location and expected traffic. Ask the team to confirm the configuration, unmetered transfer conditions and complete recurring cost before you order.