OperateLab
  • Home
  • Computers & Electronics
  • Technology
No Result
View All Result
  • Home
  • Computers & Electronics
  • Technology
OperateLab
No Result
View All Result

Home » General » How to connect to Ubuntu from Windows

How to connect to Ubuntu from Windows

David Wilson by David Wilson
February 8, 2021
in General
0
468
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter

Do you need to access a remote Ubuntu PC or Server from your Microsoft Windows PC? Unsure about how to do it? Follow along with this guide as we show you how to connect to Ubuntu from Windows!

Note: this guide covers Windows 10. If you are not using Windows 10, the instructions below may not work.

Connect to Ubuntu from Windows over the command-line

If you’re trying to connect to Ubuntu to access the command-line from Microsoft Windows, your best bet is to use SSH. Why? At this point, SSH is a universal protocol, and every operating system, from Linux to Windows, and even Mac OS have native support for it.

In the past, in Microsoft Windows, if you wanted to access your Ubuntu operating system, you needed to install a third-party SSH tool like Putty. Well, thanks to changes in Windows 10, you can now do it by launching Windows Powershell.

To connect to your Ubuntu computer from Windows over the command-line, follow the step-by-step instructions below.

Step 1: Head over to the Ubuntu PC or Ubuntu Server, and launch a terminal window. Then, with the terminal window open, update the system.

Step 2: After updating the system, use the apt install command below to install the OpenSSH server, which will automatically set up SSH on Ubuntu.

sudo apt install openssh-server

Having issues with OpenSSH Server? Follow our guide on how to set it up.

Step 3: After setting up OpenSSH server on your Ubuntu system, leave it be and go to the Windows PC.

Step 4: On the Windows PC, launch the PowerShell terminal. Unsure on how to start the Powershell terminal window? Do the following.

First, press the Win key on the keyboard to bring open the search box. Then, type in “PowerShell.” Look through the search results and launch PowerShell.

Step 5: Click on the PowerShell prompt with the mouse, and type in the Ubuntu PC’s username. Then, after the username, add an @ symbol, and the Ubuntu computer’s hostname. Or, if you don’t want to use the hostname, use the computer’s IP address. The command should look like the example below.

ssh ubuntu-user-name-here@ubuntu-computer-hostname-or-ip

Step 6: After writing in the SSH command in PowerShell, press the Enter key on the keyboard to initiate an outbound connection to the remote Ubuntu PC.

Step 7: Once you’ve successfully made a connection to the Ubuntu PC for the first time, you will see a message in the PowerShell terminal prompt. It states that you must accept the SSH connection, trust it, and add it to your known hosts. Do so.

Assuming the SSH connection to the Ubuntu PC is successful, you will now have full command-line access to your remote Ubuntu PC from Microsoft PowerShell. Feel free to use the terminal as if you were sitting right in front of it.

Need to exit the SSH session? Type in the exit command.

exit

Connect to Ubuntu from Windows via GUI

You may need to access the file system of your remote Ubuntu PC via the Windows Explorer UI.  FTP is the easiest way to remotely access the Ubuntu PC’s files from the Windows Explorer UI, as FTP is easily integrated within windows.

Note: you must set up an FTP server on your remote Ubuntu PC or Server. Please follow this guide here to learn how to get it set up.

To access your Ubuntu PC’s files on Windows through the Explorer UI, do the following.

Step 1: Open up Windows Explorer.

Step 2: Look to the sidebar in Windows Explorer for “This PC” and click on it with the mouse.

Step 3: Inside “This PC,” select “Add a network location” in the top bar.

Step 4: Go through the network wizard, till you get to, “Where do you want to create this network location?” Then, select “Choose a custom network location” and select “Next.”

Step 5: In the location box, type in ftp:// followed by the hostname (or IP address) of the remote Ubuntu PC.

ftp://ubuntu-pc-hostname-or-ip

Step 6: Click through to add the FTP server attached to the system.

Step 7: After adding the FTP server as a network location, you will see the remote FTP server location available in “This PC” under the “Network locations” section — double-click on the network location to access the Ubuntu PC’s files remotely.

Access FTP without adding a network location

You may want to access the Ubuntu PC’s files without adding a network location. Follow the step-by-step instructions below.

Step 1: Open up File Explorer, and click on the address bar with the mouse.

Step 2: Clear the location data from the address bar with the Backspace button.

Step 3: Write in the FTP server address in the address bar. It should look like the example below.

ftp://ubuntu-pc-hostname-or-ip

Step 4: Press the Enter key on the keyboard to access the FTP server.

Previous Post

How to upgrade to Ubuntu 20.04 LTS

Next Post

VyprVPN free trial 2020

Related Posts

5 levels of automated digital progression & elevation

October 14, 2021

Best Halloween iPhone Apps

September 19, 2021

How to Recover Your PC Using an Android Device

August 18, 2021

Discord won’t open [EASY GUIDE]

July 19, 2021

How To Downgrade MacOS From Catalina Or Mojave To An Older Version

July 5, 2021

10 Best Dark Web Monitoring Tools for Network Admins

July 2, 2021
Next Post

VyprVPN free trial 2020

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

RECOMMENDEDREADS

Traffic Corner

19 Sites Like Onionplay.co

by David Wilson
May 17, 2022
Traffic Corner

18 Sites Like Buffstream.io

by David Wilson
May 17, 2022
Traffic Corner

15 Sites Like XMovies8

by David Wilson
May 17, 2022
Traffic Corner

12 Apps Like Instalkr

by David Wilson
May 17, 2022
Traffic Corner

12 Apps Like Dumpor

by David Wilson
May 17, 2022

Top Stories

19 Sites Like Onionplay.co

May 17, 2022

18 Sites Like Buffstream.io

May 17, 2022

15 Sites Like XMovies8

May 17, 2022

Find on Categories

  • Business & Industries (1)
  • Computers & Electronics (2)
  • Education & Careers (1)
  • General (25)
  • Internet (25)
  • Internet Marketing (11)
  • Technology (119)
  • Traffic Corner (57)
  • Web Development (4)

About Us

OperateLab

We are a community of technology enthusiasts who believe that technology should be available to all and an effort should be made to help everyone understand it.

Contact Us at mail@operatelab.com

Connect on Social

Quick Links

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms Of Services
  • DMCA Policy

© 2022 Copyright | OperateLab | All Rights Reserved By Us | Reproduction Of Contents Is Not Allowed.

No Result
View All Result
  • Home
  • Computers & Electronics
  • Technology

© 2022 Copyright | OperateLab | All Rights Reserved By Us | Reproduction Of Contents Is Not Allowed.

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok