I have convinced my brother to buy a Bubba2 for his storage and backup needs. Now we are trying to setup remote backup over ssh to each others Bubba. I don't want to have port 22 open, to avoid detection by all th eport sniffers out there. For my other ssh needs I use high port numbers that are translated by my NAT firewall to port 22 on the inside.
I have tried to set up a backup job over ssh, mut the admin backup config does not allow any host notation inkluding the port number, like ip:portno or ip.portno. Is there any way configure the ssh backup (scp really) to use another port for copying data to h remote host?
cheers
aseem
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Backup over non-native ssh port
-
- Posts: 904
- Joined: 09 Oct 2009, 18:49
Re: Backup over non-native ssh port
I assume when you try adding something like hostname:port you get an invalid character error. You could try directly editing the job file. I haven't used the B2's built in backup utility in a while so I can't remember where they are exactly. Will have a look now and edit this post if I find them.
-
- Posts: 3
- Joined: 24 Nov 2009, 17:09
Re: Backup over non-native ssh port
Yes, thats right. I get illegal character error. I have tried to edit the jobfile directly but to no use. I tried different variants on the address, but also edited the (Edit:)target protocol to "scp -P xxxx"
E
E
-
- Posts: 3
- Joined: 24 Nov 2009, 17:09
Re: Backup over non-native ssh port
Just an update. since duplicity is used for these backup jobs, I have tried to pass params to duplicity through the 'target protocol' field in the jobdata file, but to luck. My only solution this far is to hard code the port number in the /etc/ssh/ssh_config file. I don't think this bubba will be used for any other outgoing ssh sessions, so this will have to do for now.
If you come up with a solution, I'd be glad to hear about it.
cheers
If you come up with a solution, I'd be glad to hear about it.
cheers