Package: duply Version: 1.11.3-1 Severity: normal Dear Maintainer,
On a freshly installed stretch server, on first run, when using ssh, duply (or a dependency) fails if file known_hosts doesn't exist. I expected duply to create the file if it's missing. A simple work around is to connect using ssh first, so that the file is created. Here are the log: $ duply hostname status Start duply v1.11.3, time is 2019-04-25 09:46:42. Using profile '/root/.duply/hostname'. Using installed duplicity version 0.7.11, python 2.7.13, gpg 2.1.18 (Home: /root/.gnupg), awk 'mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan', grep 'grep (GNU grep) 2.27', bash '4.4.12(1)-release (x86_64-pc-linux-gnu)'. Autoset found secret key of first GPG_KEY entry '785A86B399C9BD78' for signing. Checking TEMP_DIR '/tmp' is a folder and writable (OK) Test - Encrypt to '785A86B399C9BD78' & Sign with '785A86B399C9BD78' (OK) Test - Decrypt (OK) Test - Compare (OK) Cleanup - Delete '/tmp/duply.9853.1556185603_*'(OK) Backup PUB key '785A86B399C9BD78' to profile. (OK) Write file 'gpgkey.785A86B399C9BD78.pub.asc' (OK) Backup SEC key '785A86B399C9BD78' to profile. (OK) Write file 'gpgkey.785A86B399C9BD78.sec.asc' (OK) INFO: duply exported new keys to your profile. You should backup your changed profile folder now and store it in a safe place. --- Start running command STATUS at 09:46:43.401 --- The authenticity of host 'ouqo6z3ijgz7sn7k.onion' can't be established. SSH-RSA key fingerprint is ce:2c:7d:15:8a:d0:ea:86:8c:fe:e9:cc:7d:c1:8d:f8. Are you sure you want to continue connecting (yes/no)? yes BackendException: ssh connection to u...@mybackupserver.com:22 failed: [Errno 2] No such file or directory: '/root/.ssh/known_hosts' 09:46:54.361 Task 'STATUS' failed with exit code '23'. --- Finished state FAILED 'code 23' at 09:46:54.361 - Runtime 00:00:10.959 --- -- System Information: Debian Release: 9.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages duply depends on: ii duplicity 0.7.11-1 ii gnupg 2.1.18-8~deb9u4 duply recommends no packages. Versions of packages duply suggests: ii openssh-client 1:7.4p1-10+deb9u6 -- no debconf information