Page 1 of 1

Managing server on Debian

Posted: 2022-01-28 23:55
by murdoch
Hi,

I've recently set up Filezilla Server on Debian 11 (no desktop environment), but it listens by default on port 14148 and localhost. I'm unable to connect to it from a remote server with a Filezilla server management GUI.
How do I configure settings.xml to listen on an IP like 192.168.x.x instead of localhost?

Regards

Re: Managing server on Debian

Posted: 2022-01-29 00:18
by edufissure3
In ubuntu 20.04 i have something like:

<!--Administration options.-->
<admin>
<local_port>14148</local_port>
<listener>
<address>192.168.1.54</address>
<port>14148</port>
<tls_mode>1</tls_mode>
</listener>
<listener>
<address>0.0.0.0</address>
<port>14148</port>
<tls_mode>1</tls_mode>
</listener>
<password index="1">
<hash>uBe+IJKqljidRWB3gtVpChHj8O0aIhIpBDKWoCvpFGA</hash>
<salt>thgUDuQ5oRQX6qtmmt/9i7Ud4fQOuEXw5v4LBp+nGkQ</salt>
<iterations>100000</iterations>
</password>
<tls min_protocol_version="2" index="2">
<!--Fingerprint of the autogenerated and selfsigned certificate.-->
<fingerprint>8d:a5:a8:01:8f:71:85:45:6f:0c:f4:d7:2e:97:f9:2e:81:09:28:30:40:9c:f3:5d:70:9b:97:6e:a6:1b:32:3c</fingerprint>
</tls>
</admin>

hope it can help, only add listeners....
Or and easier solution is in the remote pc or whatever pc you have, run filezilla-server, config it via GUI and then copy the settings.xml file to the server with all the options and setup at your taste.

Re: Managing server on Debian

Posted: 2022-01-29 04:52
by boco
Note that for listening on any other interface than localhost (via "Additional listeners"), setting an Administration password is mandatory. As an Administration password is set via the interface GUI, you actually need to do this initial configuration on a machine with an IDE. After the password and the additional listeners have been configured via the GUI, the configuration files can be moved to a headless or CLI environment.

Re: Managing server on Debian

Posted: 2022-01-29 18:46
by murdoch
All right, so how do I set this administrator password on a remote machine?
I've got an installation on Windows (1.2.0 as well), but there doesn't seem to be a configuration file in C:\Program Files\FileZilla Server.

Re: Managing server on Debian

Posted: 2022-01-30 03:16
by boco
All right, so how do I set this administrator password on a remote machine?
You need a machine with a complete installation (server service/daemon and GUI). The initial administrator password can only be set while being connected locally. After the password and listeners are in place, the configuration can be moved.
I've got an installation on Windows (1.2.0 as well), but there doesn't seem to be a configuration file in C:\Program Files\FileZilla Server.
That information is outdated. The new Server stores its configuration in the system profile's local Appdata directory if running as service, or in the user's local Appdata directory if it's running as program.
For the default installation (server installed as service), the most common location would be:

Code: Select all

C:\Windows\System32\config\systemprofile\AppData\Local\filezilla-server\

Re: Managing server on Debian

Posted: 2022-01-30 07:29
by oibaf
The latest nightly build for debian asks for an admin password at installation time. You might want to try that.

Re: Managing server on Debian

Posted: 2022-01-31 16:25
by murdoch
Copied the password configuration from Windows, now I can connect.

Thanks for the help!