Configuration file
XD uses ini file format for configuration, the main config file is torrents.ini
and is autogenerated with default values if not present
SFTP storage config
XD can use a remote filesystem accessed via sftp, to use this behavior it must be configured.
Example config:
[storage]
rootdir=/mnt/storage/XD/
metadata=/mnt/storage/XD/metadata
downloads=/mnt/storage/XD/downloads
sftp_host=remote.server.tld
sftp_port=22
sftp_user=your_ssh_user
sftp_remotekey=base64dserverpublickeygoeshere
sftp_keyfile=/path/to/ssh/private/key/to/login/with/id_rsa
sftp=1
This will login to remote.server.tld:22
with user your_ssh_user
using (unencrypted) private key and use /mnt/storage/XD/
on the remote server as the storage for torrents and metadata.
The server's public key is usually located at /etc/ssh/ssh_host_*.pub
in the form: ssh-whatever base64goeshere root@hostname
, you want to use the base64 value in sftp_remotekey
.