ArticlesHow-to

Ubuntu remote access: reach an Ubuntu computer from anywhere

Published · Updated

How you reach an Ubuntu computer from somewhere else depends on what you need. For a command line, use SSH. For your desktop on the same network, use Ubuntu’s built-in Remote Desktop. To help someone with their own computer, use a remote support tool. For your own desktop from anywhere, with no network setup, use a browser tool such as Naytto. Naytto is for reaching your own computers, not for supporting other people’s.

Which route fits

You wantUseWhat it takes
A command lineSSHThe SSH server on the Ubuntu computer, and a way to reach it on the network
Your desktop, on the same networkUbuntu’s Remote DesktopAn RDP app on the other computer. From outside, often a VPN or port forwarding
To help someone with their computerA remote support toolIts app on their computer, and them at it. Some let you help from a browser
Your own desktop, from anywhereNayttoThe Naytto app on the Ubuntu computer. Any current browser to connect from

A command line: SSH

SSH gives you a terminal on the Ubuntu computer, with nothing to see on screen. Ubuntu’s OpenSSH guide covers the setup:

  1. On the Ubuntu computer, install the server: sudo apt install openssh-server
  2. From the other computer, sign in with ssh you@ubuntu-computer, using your own user name and the computer’s name or address.
  3. To sign in with a key instead of a password, the guide makes one with ssh-keygen -t ed25519 and copies it over with ssh-copy-id you@ubuntu-computer. That works from a Mac or Linux; Windows’ built-in OpenSSH has ssh-keygen but no ssh-copy-id, by Microsoft’s list of its commands.

Ubuntu 26.04 moves from OpenSSH 9.6 to 10.2. Its release notes say the weak DSA signature algorithm is gone, and that sshd.service now also works as a name for ssh.service in systemctl commands.

SSH has to be reachable from where you are. At home it usually is: Ubuntu’s firewall guide says ufw starts out disabled, and if you’ve turned it on, sudo ufw allow 22 lets SSH through. From another network it usually takes a VPN or a forwarded port, as remote desktop without port forwarding explains.

Your desktop: Ubuntu’s built-in Remote Desktop

Ubuntu 24.04 and later share the desktop over RDP, from Settings › System › Remote Desktop. Ubuntu’s guide describes two modes:

The user name and password for both are set on that page, apart from your Ubuntu password. Connect with an RDP app that GNOME lists as known to work, such as Windows’ built-in Remote Desktop Connection or Remmina. Between different networks, the guide says you might have to set up port forwarding on your router or reach the computer through a VPN. It warns that port forwarding opens your system to the world, and suggests the VPN when only a few people need to connect.

Ubuntu 26.04 remote desktop has every step, from Windows and from a Mac.

Helping someone else: remote support tools

When the computer belongs to a friend, a relative or a customer, you need a tool made for remote support: the other person runs it and lets you in. Ubuntu’s default desktop runs on Wayland, which some of these tools only partly support. From each vendor’s own pages:

How these and other tools compare on Ubuntu, and where each fits for remote support, is in the best remote desktop for Ubuntu.

Your own computer from anywhere: Naytto

Naytto shows your Ubuntu computer’s own screen in any browser, through its private relay, so there’s no port to forward, no VPN and nothing to install on the device you connect from. It isn’t a support tool. Each computer joins your account only with your approval in a signed-in browser and Allow at the computer, and you can’t share a computer with anyone else.

Ubuntu remote desktop has the setup, which starts with one command.

When Naytto isn’t the right choice

Common questions

Is it safe to open Ubuntu to the internet for remote access?

Ubuntu’s guide warns that port forwarding opens your system to the world and calls it a security risk, and suggests a VPN instead. A relay, such as Naytto’s, avoids opening a port on your router at all.

Can I reach Ubuntu after it restarts?

SSH, yes, once the computer is on the network. For the desktop, GNOME’s Remote Login signs you in while you’re signed out. Naytto reaches the sign-in screen only on Ubuntu 24.04 with GNOME’s sign-in screen on Xorg; on 26.04 someone signs in at the computer first.

What about Linux remote access on other distributions?

SSH works the same way on most Linux systems. TeamViewer and AnyDesk list several distributions beyond Ubuntu on their pages. Naytto has been checked only on Ubuntu; Linux remote desktop in your browser says what that means.

Sources

Read on 23 November 2026: Ubuntu’s OpenSSH and firewall guides, remote desktop guide and 26.04 release notes; the GNOME Remote Desktop 50 README and GNOME’s help; Microsoft’s OpenSSH for Windows overview; TeamViewer’s supported systems, Wayland, remote access and pricing pages; RustDesk’s README, Wayland post and 1.5.0 post; AnyDesk’s supported systems. Naytto’s side is from Help. TeamViewer, RustDesk and AnyDesk are trademarks of their owners; Naytto isn’t affiliated with them.

Reach your computer from a browser

Naytto is free for 1 computer, with no card needed. Install it on the computer you want to reach, then connect from any browser.