Re,

On 06/20/2012 09:21 AM, jonas wrote:
Hello,

Am 19.06.2012 12:55, schrieb Thomas Liske:
On 06/19/2012 11:40 AM, jonas wrote:
it took me quite a while to find the reason, but it seems like apt-dater
doesn't always use the configured ssh options. I tried to set a custom
SSH key file by adding '-i ~/.ssh/apt-dater_rsa' to OptionalCmdFlags in
[SSH] section at ~/.conf/apt-dater/apt-dater.conf.

OptionalCmdFlags was not intended to be used this way, but I've fixed
it upstream [1].

As a workaround you might use the SpawnAgent / AddKeys options. In
the hosts.conf file each host group can have a IdentityFile key which
would work, too.

[1]

https://github.com/DE-IBH/apt-dater/commit/fefb3edf1d991ac82c4344c143d65d0e2c837caa#lib/cmd


Thanks for the prompt reply. I wasn't aware of the options you
mentioned. Thanks for the hint. Using SpawnAgent and AddKeys does
exactly what I was searching for.

SpawnAgent and Addkeys options are documented in the apt-dater.conf(5)
manpage, but is the IdentityFile option mentioned anywhere in the docs
at all? At least I was unable to find it.

You're right - it's not documented anywhere, yet.

My initial problem is resolved, but I suggest to keep this bugreport
open until the upstream fix is merged into the debian package.

The wheezy version is affected, too. It might take some time since Patrick is on vacation atm.


Regards,
Thomas

Regards,
jonas






--
supp...@ibh.de                              Tel. +49 351 477 77 30
www.ibh.de                                  Fax  +49 351 477 77 39

-----------------------------------------------------------------------
Dipl.-Ing. Thomas Liske
Netzwerk- und System-Design


IBH IT-Service GmbH                         Amtsgericht Dresden
Gostritzer Str. 67a                         HRB 13626
D-01217 Dresden                             GF: Prof. Dr. Thomas Horn
Germany                                     VAT DE182302907
-----------------------------------------------------------------------
Ihr Partner für: LAN, WAN IP-Quality, Security, VoIP, SAN, Backup, USV
-----------------------------------------------------------------------
       professioneller IT-Service - kompetent und zuverlässig
-----------------------------------------------------------------------



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to