Hi, This is a solution for one machine, I have several machines with different ports, I can create several dumptypes one for each machine, but I think this is complicate the configuration ...
Why amanda force port 22 and do not uses the default? Thanks Nuno On Wed, 2012-03-07 at 13:15 -0500, Jean-Louis Martineau wrote: > Add a client-port in the dumptype: > client-port 50000 > > Jean-Louis > > On 03/07/2012 12:34 PM, Nuno Dias wrote: > > Hi, > > > > In version 3.1.3 of amanda I used .ssh/config with a configuration like > > this > > > > Host machine_name > > Port 50000 > > > > To do backups of a machine through a tunnel ssh. > > But with version 3.3.0 this is not working anymore, what I can see in > > the logs is this > > > > /usr/bin/ssh SSH_OPTIONS -l amanda -p 22 -i /var/lib/amanda/.ssh/id_rsa > > machine_name /usr/lib64/amanda/amandad -auth=ssh > > > > Because the port is specified (-p 22) the port in .ssh/config it's not > > used. > > > > This is a feature? or can I change this? > > > > Thanks > > Nuno > -- Nuno Dias <[email protected]> LIP
