Hi,
On 06/19/2012 11:40 AM, jonas wrote:
Package: apt-dater
Version: 0.8.4-4+squeeze1
Severity: normal
Hello,
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
HTH,
Thomas
Upgrading or installing packages uses the ssh options as configured, but
refreshing package lists doesn't. To me this was quite confusing. I
suggest to use the custom SSH options everywhere. Or even better, add an
extra config option SSHKey which is used for both SSH and SCP/SFTP.
Regards,
jonas
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-dater depends on:
ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libxml2 2.7.8.dfsg-2+squeeze4 GNOME XML library
ii openssh-client 1:5.5p1-6+squeeze2 secure shell (SSH) client, for sec
ii screen 4.0.3-14 terminal multiplexor with VT100/AN
ii tcl8.5 8.5.8-2 Tcl (the Tool Command Language) v8
apt-dater recommends no packages.
Versions of packages apt-dater suggests:
ii apt-dater-host 0.8.4-4+squeeze1 host helper application for apt-da
ii mc 3:4.7.0.9-1 Midnight Commander - a powerful fi
ii xsltproc 1.1.26-6 XSLT 1.0 command line processor
-- no debconf information
--
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