Source or target may be on another computer that can be reached over SSH – a NAS, a server or a small computer in the home network, for example. Both sides at once are possible as well.
File → New SSH connection… or Edit → SSH connections… opens the management. A connection consists of:
| Name | Free to choose. Paths later refer to the connection by this name. |
| Host | Computer name or IP address. |
| User | Account on the remote computer. |
| Password | Stored encrypted in the configuration, not in plain text. |
In the overview, connections can be created, edited, renamed and deleted. If a connection is renamed, the synchronisations that use it follow automatically.
A remote path consists of the name of the connection, a colon and the path on the remote computer:
nas:/home/anna/documents
In the dialog of a synchronisation, the SSH button next to source and target first leads to the choice of the connection and then to a dialog that browses the directories on the remote computer – with size and modification date, so that the right place can be found without typing.
Before a synchronisation with a remote side starts at all, AutoFileSync makes sure that the other end is there: it connects, checks the server's key and logs in. This is the same question that “is the drive connected?” answers for a local path. If one of these steps fails, the synchronisation is skipped for this run – nothing is copied or deleted.
Source and target are held to different standards:
The result is cached, so that not every run opens a new connection. A reachable remote side is checked again at most once an hour, an unreachable one at most every five minutes. After a fault it can therefore take a few minutes until the synchronisation starts again by itself.