So I’ve re-installed MineOS onto my server that now has Linux Lite LTS on it (as opposed to the Turnkey solution). The server itself is running smoothly and I’m really happy with the setup of the Server and t he Webui.
The problem I’m now having is trying to get the SFTP up and running. I use filezilla normally.
I have installed vsftpd onto the server and did set up a user and a file path, which to be honest was pretty useless because i couldn’t go where I needed to go to manage my minecraft server files. It did eventually work however, which proved to me that vsftpd was up and running.
I’ve added port 22 to open both ways in the Linux Firewall settings as a rule. I did also test the ftp with the firewall turn off. (didn’t help my issue)
I cant remember setting a password for the root user when I installed MineOS or even if it asked me for one. I have only one password I use at that level anyway and I’m confident I would have used that password. I will be setting up and RSA Key tho once I can get logged in via putty.
I researched the Root Login page here:
I found that I needed to use this command to set up the sftp side:
sudo apt install openssh-server fail2ban
This gave me the files that were mentioned in the wiki above.
I set the PermitRootLogin to Yes and restarted the ssh service.
But Filezilla will still not connect.
I tried to do it through a web browser: ftp://ip address:22, Again the user I set up when installing vsftpd worked but not the access to the minecraft files I need to manage the server.
I’ve been looking for the file that holds the user details (if there is one) so I can confirm any passwords? other than that, I’m at a loss here, what id like to do:
- confirm that the sftp system (whatever you guys name it) is actually working.
- try to find the user details for the Root user set by MineOS,
- get filezilla working so I can manage my server files, and finally
- install an RSA Key to the root user for a little added security.
As always any help is appreciated.
Please don’t explain away what my problems are. Id actually like to go to the troubleshooting and finding solutions rather than someone regurgitation what or why the fault is. I’m sure that will come to light as we work through this process to resolve these issues.
I do have a discord channel and im on Australian Eastern standard time if youd like to work with me through this in real time: https://discord.gg/CHm9xE