Submitted by virtualmin3123 on Fri, 01/15/2016 - 17:06
Webmin/virtualmin Backup to a non standard port does not work when using Webmin, Fitesystem backup.
host.domainname.com:934
I get the following error. Failed to save backup : Missing or invalid host to backup to
Why it is not accepting other ports than port 22? Not workable. Please fix.
Status:
Active
Comments
Submitted by virtualmin3123 on Fri, 01/15/2016 - 17:06 Comment #1
Submitted by JamieCameron on Fri, 01/15/2016 - 21:32 Comment #2
This is because the Filesystem Backup module uses the
tar
command to do backups, and it doesn't support the hostname:port format.Submitted by virtualmin3123 on Thu, 01/21/2016 - 06:39 Comment #3
okay thanks. But then this option in Webmin is not so usefull for admins who are security minded and run SSH not on default ports.....
Submitted by JamieCameron on Thu, 01/21/2016 - 13:22 Comment #4
One work-around would be to add an entry to
/root/.ssh/config
for the host that specifies a different port.Submitted by BurtAdjoodani on Sat, 01/21/2017 - 07:25 Comment #5
Create a file called : /root/.ssh/config
The things you will need: 1) Nickname mysshserver 2) Port Number 27272 3) IP Address of (nicknamed server) (IF YOU DON'T KNow it, PING IT!)
Example of file contents:
Host mysshserver HostName 123.123.123.123 Port 27272