Welcome back to our mini-series of articles on the Files app, also known as Nautilus. Files is part of the GNOME desktop, which ships in the Fedora Workstation edition. Previously we covered sorting to show your recent work at the top of your folder views. In this article, we’ll discuss how this app can manage data on your other systems using Secure Shell (SSH) connections.
SSH on your other systems
Let’s assume the system you’re connecting from, where Files runs, is considered your local system, and the system to which you connect is remote. For these instructions to work, your remote system must accept SSH connections. This happens via an SSH daemon, a process that stays running in the background. The connection also requires the remote system to have an open port on which SSH runs.
If you’re going to turn SSH on, it’s important that you use strong passwords for your computer accounts. If someone can easily guess your username and password, they could get access to your sensitive data.
If you’re running Fedora Server or another non-Workstation edition of Fedora on the remote system, it’s ready to accept connections out of the box. Fedora includes the OpenSSH server and client programs by default. If you’re running Workstation on the remote system, enable remote login:
- Open the Sharing preferences. Either use the Settings tool in the GNOME Shell menu at the upper right, or use the Shell search by hitting the logo key or selecting Activities. Then search for or select Sharing.
- Turn the Remote Login option on. You’ll need to provide a password to authorize this change, since it affects system configuration.
You can also connect to a remote Mac OS system since that operating system also offers an SSH daemon. Like the Workstation, it is not running by default. In this case, run the System Preferences tool and select Sharing to turn on Remote Login.
If you’re running a different operating system, consult the documentation to learn how to turn on the SSH daemon and open the appropriate port number (usually 22).
Connecting to the remote system
Your local system needs to know the IP address of the remote system, or a name the local system can resolve to an IP address, to proceed. You can determine the IP address of the remote system through its network configuration tool, such as NetworkManager. Open the settings tool for the appropriate network interface to see the IP address.
To connect to the remote system with SSH, follow this process:
- Open your Files app. From the options menu, select Enter Location, or hit Ctrl+L.
- For location, enter ssh://<w.x.y.z> where <w.x.y.z> is the remote system’s IP address, such as: 192.168.1.5
- Provide your username and password on the remote system. Remember, these may not be the same as your username and password on the local system.
Now you can manage files on the remote system.
Be aware that some functions may operate differently on a remote system. For example, on some systems if you delete a file, the file is not moved to a trash bin, but immediately erased. Typically the Files app warns you when this is the case.
Also note that power functions on a remote systems may affect your connection. For instance, if the remote system is configured to sleep after a certain span of no input via keyboard and mouse, your connection may generate an error or drop. This feature works best when the remote system is always up and connected to the network.
Now you can enjoy managing your files remotely via SSH. But what about a connection to a different type of system, like Windows? This topic will be covered in a future article, so stay tuned.