Access Remote Servers from elementary OS Files
The Files application in elementary OS can browse folders on another computer almost as naturally as it opens a local directory. With the right address, you can connect to a home server, a work machine, a web host or a rented Linux VPS, then copy, move and rename files through the familiar Pantheon desktop. The connection itself is handled by the underlying GVfs framework, so you do not need a separate graphical FTP client for basic file management.
The important distinction is between SSH-based SFTP and traditional FTP. SFTP travels inside an encrypted SSH connection and is generally the sensible choice for personal files, backups and administration. FTP is older and useful on some hosting services, but ordinary FTP sends credentials and data without encryption. A few settings in Files, plus sensible account and network practices, make remote access much safer and more reliable.
How Files Handles Remote Locations
Open Files from the dock or Applications menu and press Ctrl+L to display the location field. You can also use the application’s connection option if it is visible in your version of elementary OS. Instead of entering a local path such as /home/alex/Documents, type a remote URI. For SSH file access, the usual format is:
sftp://username@server-address
You can include a starting directory after the address:
sftp://alex@example.net/home/alex/projects
Press Enter and Files should request a password, or use an SSH key if your account is configured for key authentication. The remote location then appears in the sidebar, where you can browse folders and drag files between the server and your computer. Connection speed depends on both the server and your internet upload and download capacity, so a large video copied over a busy NBN connection may take considerably longer than its local transfer time.
A hostname is preferable to a changing public IP address. For a home server, you might use a local address such as 192.168.1.40 while connected to the same router, or a DNS name when connecting from outside the property. Do not expose SSH directly to the internet without understanding port forwarding, firewall rules and account security. Many Australian households use carrier-grade NAT or routers supplied by an NBN provider, which can make inbound connections difficult or impossible without a suitable public address or a managed remote-access service.
Connecting Through SSH And SFTP
SFTP is the file-transfer part of SSH. It uses the same encrypted channel as a normal shell login, which protects usernames, passwords and file contents while they travel between elementary OS and the remote computer. On a Linux server, the SSH service is commonly provided by OpenSSH. If you manage the server yourself, an administrator can install and enable it with commands similar to:
sudo apt update
sudo apt install openssh-server
sudo systemctl enable --now ssh
The exact commands can differ on a hosting platform, and you may need to allow SSH through a firewall. A server administrator should create a normal user with access to the required directories rather than handing out the root account. In Files, use that username in the SFTP address, then authenticate with the account password or an SSH key.
SSH keys are a stronger long-term option than repeatedly entering a password. On elementary OS, a key pair can be created from Terminal with ssh-keygen, after which the public key is installed on the server in the user’s ~/.ssh/authorized_keys file. Keep the private key on your computer, protect it with a passphrase, and never paste it into a support forum. If Files does not offer the expected key automatically, test the account in Terminal with ssh username@server-address; this can reveal an incorrect key path, hostname or permission setting.
The first connection may show a host-key warning. Check the server fingerprint through a trusted administrator or hosting panel before accepting it, especially when connecting over a public network. A café in Melbourne, a university network in Brisbane or a hotel Wi-Fi service in Perth may expose traffic to more local devices than your home network. Encryption still matters, but verifying the server prevents a misleading connection to the wrong machine.
FTP Access And Its Limits
For an FTP service, the location generally follows this pattern:
ftp://username@server-address
Files may ask for the password after you press Enter. Some servers permit anonymous access, although anonymous FTP should be treated as read-only public distribution unless the administrator explicitly says otherwise. You may also see a separate port in hosting instructions, for example ftp://username@example.net:21; port 21 is the conventional control port, but a provider can use another value.
Plain FTP is not suitable for confidential transfers because the login and content are not encrypted. Anyone able to inspect traffic along the route may be able to capture the credentials. This matters when managing a website from a shared office, airport lounge or public library. It also matters for Australian businesses covered by privacy obligations: the Privacy Act 1988 and the Australian Privacy Principles do not turn every file transfer into a legal breach, but they do make sensible protection of personal information an important operational responsibility. Review the provider’s privacy policy alongside your own organisation’s requirements before moving customer or staff data.
If a hosting company offers “FTP”, check whether it actually supports FTPS or SFTP. FTPS adds TLS encryption to the FTP protocol, while SFTP is a separate SSH-based protocol. Files’ support for a particular secure FTP mode can depend on the installed GVfs backends and the elementary OS release, so a dedicated client such as FileZilla or a command-line tool may be necessary when the server requires explicit TLS settings, passive-mode changes or detailed transfer logs.
FTP also behaves differently around permissions and symbolic links. A web host may place uploads in a restricted directory, refuse deletion, or display a directory listing that omits hidden files. Do not assume that a successful connection gives you complete server access. Check the hosting provider’s document root, backup rules and file ownership instructions before changing website files.
Comparing Remote Connection Choices
The best protocol depends on what is being transferred, who controls the server and how much security the material requires. SFTP is normally the simplest choice for a Linux machine that already has SSH enabled. FTP remains common in older hosting documentation, while FTPS can be useful where a provider has standardised on TLS-protected FTP.
| Method | Typical Files address | Encryption | Best use | Common limitation |
|---|---|---|---|---|
| SFTP over SSH | sftp://user@host |
Yes | Personal files, server administration and backups | Requires SSH access and suitable server permissions |
| FTP | ftp://user@host |
No | Public or low-sensitivity files on legacy hosting | Credentials and data can be exposed |
| FTPS | Provider-specific | Yes, with TLS | Hosting services that require FTP with encryption | May need a dedicated client or extra configuration |
| Local network share | Depends on service | Depends on setup | Home or office computers on the same network | Usually unavailable from outside the network |
Before copying a directory, consider whether you need synchronisation rather than simple file browsing. Files is convenient for occasional uploads and downloads, but it does not automatically maintain a reliable two-way mirror. Dragging a folder from a remote server to your home directory can overwrite or duplicate files without giving you the detailed preview available in backup software. For regular backups, use a tool designed for synchronisation, such as rsync over SSH, and keep a second copy on a separate device.
File permissions can also affect what you see. A remote Linux account may read a folder but lack permission to write into it. On a web server, uploading a file with the wrong owner or mode can produce a “403 Forbidden” error in the browser even though the transfer appeared successful. Upload to the account’s permitted directory first, then follow the provider’s documented ownership and permission model instead of applying broad permissions such as 777.
Troubleshooting And Safer Daily Habits
When a connection fails, start with the address and protocol. ssh:// is not the same as sftp://, and an FTP port will not necessarily accept SSH traffic. Confirm the hostname, username, port and starting path. Test network reachability with a browser or Terminal, then check whether the service is running and whether a firewall allows it. A simple message such as “Connection refused” usually points to a closed port or stopped service, while an authentication failure points to the account, password or key.
A remote folder can appear empty for several reasons. The user may have landed in a restricted home directory, hidden files may not be displayed, or the server may return directory information in a format that the installed backend cannot interpret. Refresh the view, reconnect, and try a smaller directory. If the problem affects only FTP, ask the host whether passive mode, FTPS or a different client is required. If SFTP works in Terminal but not Files, install or repair the relevant GVfs package, then restart Files.
Treat remote mounts as temporary workspaces rather than permanent local folders. Disconnect from a server when finished, especially on a shared computer, and avoid saving passwords in a browser-like prompt unless the device is protected by a strong login password and full-disk encryption. Elementary OS’s straightforward desktop makes remote access feel local, but an open connection can still expose files to anyone who gains access to the session.
For an Australian household or small business, a practical setup is to use SFTP for a home lab or VPS, reserve FTP for non-sensitive legacy hosting, and keep backups separate from the server being administered. Check transfer progress before closing the lid of a laptop, use a wired connection for large uploads when practical, and verify important files on the destination. In everyday use, enter an sftp:// address in Files, authenticate with a restricted account, transfer only what is needed, and disconnect when the work is complete.