Connect to Linux from Windows by using PuTTY (2024)

After you have created a new Cloud Server
with the Cloud Control Panel, you need to make a secure remote
connection from your local computer to your Cloud Server. This article
describes how to use a client called PuTTY to form a Secure Shell (SSH)
connection from a computer running a Microsoft® Windows® operating
system (OS) to a Linux® server.

Note: This procedure requires you to install PuTTY or another SSH client,
which you do at your own risk. PuTTY is not affiliated with
Rackspace in any way, but the software is simple to use, freely
available, and reputable.

If you are a MacOS® X user, you can
connect to a Linux server by using Terminal,
a console program included with the operating system.

For an OnMetal server, see
Create OnMetal Cloud Servers
for applicable OnMetal steps.

The procedure and examples in this article use Windows XP, Service Pack 2.
Different versions of Windows might have slightly different interfaces.

Download PuTTY

Use the following steps to download and open PuTTY:

  1. Download PuTTY from the
    PuTTY website.

    Ensure that you comply with the license requirements.

  2. Launch the client.

Use the following steps to configure your connection:

  1. In the PuTTY Configuration window, enter the following values:

    • In the Host Name field, enter the Internet Protocol (IP) address of
      your Cloud Server.
    • Ensure that the connection type is set to SSH.
    • (Optional) In the Saved Sessions field, assign a name for
      this connection. Assigning a name saves time the next time that you use
      Putty. You can assign a different name for each of your Cloud Servers.
  2. Click Open.

Accept the key

If this is the first time that you have used PuTTY to log in to your
server with SSH, a warning similar to the following one displays:

The server’s host key is not cached in the registry. You have no guaranteethat the server is the computer you think it is. The server’s rsa2 keyfingerprint is: <string>. If you trust this host, hit **Yes** to add the key toPuTTY’s cache and carry on connecting. If you want to carry on connecting justonce, without adding the key to the cache, hit No. If you do not trust thishost, hit Cancel to abandon the connection.

If you are sure that you have entered the correct information, click Yes.

Subsequent connections do not show this warning because the host key
is now cached in the registry of your local computer. You can expect to
see that warning, however, if you connect to your server from a
different computer.

Enter your username and password

After you accept the warning, the terminal prompts you for your username
and password.

If this is the first time that you are logging in to the server, you
must log in as the root user.

When you are prompted for the password for the root user, enter the
current root password for this server. The password at is not echoed to the
screen. Then, press Enter.

If you have entered the correct root password, the prompt responds with
a shell prompt:

[root@yourservername ~]#

Now you can work on your server with all permissions.

Change your root passwords

We recommend that you change the root password to something personal.
You can easily do this by using the passwd command and the following steps:

  1. From the shell prompt, enter the passwd command.
  2. Enter the new password that you want to set for your server. The
    password does not echo to the screen.
  3. Reenter the new password and press Enter.

When you connect to your server, use this password with the root user.

Updated 9 months ago

Connect to Linux from Windows by using PuTTY (2024)

FAQs

Connect to Linux from Windows by using PuTTY? ›

Connect to your Linux (Ubuntu) Machine

From the Start menu, choose All Programs > PuTTY > PuTTY. username@server.address eg: ubuntu@machine.ronin.cloud. The default machine username changes across the operating systems. For example, ubuntu is the default username of an Ubuntu machine.

How to connect to Linux server from Windows using PuTTY? ›

Connect to your Linux (Ubuntu) Machine

From the Start menu, choose All Programs > PuTTY > PuTTY. username@server.address eg: ubuntu@machine.ronin.cloud. The default machine username changes across the operating systems. For example, ubuntu is the default username of an Ubuntu machine.

How to connect from Windows to Linux? ›

Connect to a Linux server via SSH
  1. Open the list of your servers and click on the one you need. Click the Instructions button. ...
  2. Open a terminal (for Linux) or a command line (for Windows) on your computer. Enter the command: ...
  3. The connection will prompt you for a password. Enter the password from the instructions.

How to login to Linux VM using PuTTY? ›

How to Connect to a Linux VM using Putty
  1. Start PuTTy.
  2. Fill in the host name or IP address of your VM from the Azure portal:
  3. Before selecting Open, click Connection > SSH > Auth tab. Browse to and select your PuTTY private key (.ppk file):
  4. Click Open to connect to your VM.
Sep 30, 2020

How to connect Linux from Windows using SSH? ›

For Windows
  1. Open a New Session. After launching the program, open a new session by clicking on “Session” in the upper left corner.
  2. Enter Remote Host IP and Username. Enter the IP address of the remote host in the "Remote Host" field. ...
  3. Enter Password. Enter the password and press enter. ...
  4. Successfully Logged in via SSH.
Feb 21, 2023

How to use PuTTY to SSH to Linux? ›

Open PuTTY and you'll see a configuration window. Under "Session," in the "Host Name (or IP address)" field, type the IP address or hostname of your Linux server. Ensure the "Port" field is set to 22, which is the default SSH port. Select SSH under "Connection type" and then move on to the "Saved Sessions" field.

Can I access Windows through PuTTY? ›

PuTTY is a popular open-source SSH client software for Windows. However, we can also use PuTTY on a Linux machine. In this tutorial, we explore a way to connect a Linux machine to a Windows machine using PuTTY.

How to communicate between Linux and Windows? ›

Use an SSH tunnel and an RDP client to connect to a Windows instance from your Linux computer. This procedure requires a Remote Desktop Connection client for Linux; the example uses Microsoft Remote Desktop (an open source UNIX client for connecting to Windows Remote Desktop Services). Rdesktop is an alternative.

How can I access the Linux server from Windows? ›

Connect to a Linux server by using the system user and password.
  1. (Optional) Configure a logon password for the Linux server. ...
  2. Run the following command to connect to the Linux server: ssh root@<Public IP address of the Linux server> ...
  3. Enter yes and press the Enter key.
Aug 12, 2024

How do I access Linux from Windows terminal? ›

Run Linux tools from a Windows command line

Run Linux binaries from the Windows Command Prompt (CMD) or PowerShell using wsl <command> (or wsl.exe <command> ). Binaries invoked in this way: Use the same working directory as the current CMD or PowerShell prompt. Run as the WSL default user.

How to connect to Ubuntu VM from Windows using PuTTY? ›

How to Establish Connection by Using PuTTY to VMware Ubuntu With...
  1. Step 1: Install OpenSSH Server. Make sure OpenSSH server is installed on your Ubuntu VM. ...
  2. Step 2: Setting SSH to Allow IPv6: Ensure that your SSH server is setting up to allow IPv6 connections. ...
  3. Step 3: Connect With PuTTY. ...
  4. Step 4: Start the Connection.

How to connect via PuTTY? ›

Launch PuTTY on a Windows workstation and type the destination IP address in the HOST Name (or IP address) box. Ensure SSH is selected from the Connection type radio options. Click Open. The remote Linux system will prompt you for the name and password of a local user account.

How to connect Linux VM through SSH? ›

The recommended method for connecting to a VM over SSH uses a key pair: the public key resides on the VM, and the private one is kept by the user. To enable another user to connect to your VM, add an SSH key for them by following this guide. Connecting with a key pair is more secure than with a username and password.

How to access Linux desktop from Windows remotely? ›

Connecting from Local Network

To access the remote desktop GUI of your Linux server connected to your local network, simply open the Windows Remote Desktop Client(RDC), enter the IP address or hostname of your Linux server, and click “Connect”. Enter your Linux server's username and password when prompted.

How to connect via SSH on Windows? ›

Connect
  1. Open a Command prompt window on your technician PC.
  2. Connect to the device: To connect using a username and password: Windows Command Prompt Copy. ssh user@192. 168. ...
  3. Enter the password for your user if you're connecting with a username and password, or if you configured your key to require a password.
Jun 24, 2021

How to access Linux server through SSH? ›

Opening an SSH Connection to a Linux Server with a Linux Computer
  1. Open a terminal (e.g. xterm).
  2. In the terminal, type the following command: ssh root@<IP ADDRESS OF THE SERVER> When you log in for the first time, the following prompt appears: ...
  3. Optional: Enter the command yes.
  4. Enter your password.

How to connect Linux server to Windows client? ›

In the PuTTY configuration window, do the following:
  1. Go to Connection -> SSH -> Tunnels.
  2. Type in the source port number in the Source port field.
  3. Type the VNC server address and port in the Destination field.
  4. Start the SSH session as you normally would.
  5. Connect to your server with a VNC client of your choice.
Nov 23, 2023

How to connect EC2 using PuTTY in windows? ›

Click Open in PuTTY Configuration to connect to your Instance.
  1. If this is the first time you have connected to your Instance, a PuTTY Security Alert will ask you whether to proceed with the connection.
  2. Click Yes to complete the connection.
  3. The EC2 Instance window will appear (black screen below).

Top Articles
Official Settlement Account: What It Is and How It Works
What is Treasure Hunt?
Radikale Landküche am Landgut Schönwalde
Fat Hog Prices Today
Wannaseemypixels
Rek Funerals
360 Training Alcohol Final Exam Answers
Craigslist - Pets for Sale or Adoption in Zeeland, MI
Produzione mondiale di vino
Bill Devane Obituary
Caresha Please Discount Code
2021 Lexus IS for sale - Richardson, TX - craigslist
Razor Edge Gotti Pitbull Price
The Ultimate Style Guide To Casual Dress Code For Women
Where to Find Scavs in Customs in Escape from Tarkov
Ppm Claims Amynta
Brazos Valley Busted Newspaper
College Basketball Picks: NCAAB Picks Against The Spread | Pickswise
8005607994
Yosemite Sam Hood Ornament
Greensboro sit-in (1960) | History, Summary, Impact, & Facts
Jesus Revolution Showtimes Near Regal Stonecrest
Great ATV Riding Tips for Beginners
Anesthesia Simstat Answers
Tactical Masters Price Guide
Jamielizzz Leaked
Obituaries, 2001 | El Paso County, TXGenWeb
This Is How We Roll (Remix) - Florida Georgia Line, Jason Derulo, Luke Bryan - NhacCuaTui
Things to do in Pearl City: Honolulu, HI Travel Guide by 10Best
R/Sandiego
Pfcu Chestnut Street
Boneyard Barbers
Sports Clips Flowood Ms
Truis Bank Near Me
Tributes flow for Soundgarden singer Chris Cornell as cause of death revealed
Movies123.Pick
2008 Chevrolet Corvette for sale - Houston, TX - craigslist
Aveda Caramel Toner Formula
Can You Buy Pedialyte On Food Stamps
Fetus Munchers 1 & 2
World Social Protection Report 2024-26: Universal social protection for climate action and a just transition
Let's co-sleep on it: How I became the mom I swore I'd never be
התחבר/י או הירשם/הירשמי כדי לראות.
062203010
Charli D'amelio Bj
Love Words Starting with P (With Definition)
Holzer Athena Portal
Wild Fork Foods Login
Lira Galore Age, Wikipedia, Height, Husband, Boyfriend, Family, Biography, Net Worth
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Read Love in Orbit - Chapter 2 - Page 974 | MangaBuddy
Selly Medaline
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6131

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.