Virtualmin FTP backup using custom port

3 posts / 0 new
Last post
#1 Wed, 01/06/2010 - 04:25

Virtualmin FTP backup using custom port

Hi there! For some reason I can't seem to be able to use virtualmin's backups with a custom FTP port

Let's say my custom port is 11111, on server 2, and I'm trying to FTP a backup of server 1 there

In my backup schedule on server 1, I enter as the IP, but when I try to run backups I receive an "interrupted system call" error

If that's of any help, I have my proftpd server (on srv 2) set to accept connections only for specific IPs (my home IP and srv 1) using a LIMIT LOGIN directive

I can successfully connect to the custom port from home using an ftp client so it appears to work..

Any suggestions?

Wed, 01/06/2010 - 09:36

Well, FTP can be funny with ports sometimes -- is setting up SSH, perhaps on an alternate port, an option for you? That would be both more secure and simpler to setup :-)

If you're interested in using FTP, what I'd do is log into your server on the command line, either using SSH or via the console, and use the command line ftp client to troubleshoot connections to your server.

Once you get that working, you can be certain it should work from within Virtualmin.


Thu, 01/07/2010 - 17:11

Thanks for your reply :)

The problem is that my SSH is configured to only work with pub/priv keys, and frankly, I don't know how to limit the power of an SSH user other than root..

I don't want the backup user to be able to do more than it needs to, and with FTP I'm secure (you generally can't root a box from FTP, but from the SSH console you can certainly send many more commands)

Why would the backup work on port 21 and not on a different port? the firewall is set up correctly..

Topic locked