FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 2f3ae83a authored by Dr Catherine Pitt's avatar Dr Catherine Pitt
Browse files

Fix ssh-keyscan in new backup script

parent 51c10e51
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ Priority: optional
Section: otherosfs
Maintainer: Frank Lee <rl201@cam.ac.uk>
Architecture: all
Version: 0.9-ch21
Version: 0.9-ch22
Depends: debian-zfs, postgresql, liblockfile-simple-perl, libdbi-perl, libjson-perl, libzfs-perl-chem, libnet-openssh-perl, libdbd-pg-perl, mbuffer
Description: a backup system using ZFS
Ported (well, mostly) from FreeBSD to a Sane OS.
......@@ -114,7 +114,7 @@ function backupdir() {
function getsshkey() {
FQDN=$1
ssh-keyscan -t ecdsa $FQDN >> /root/.ssh/known_hosts
ssh-keyscan $FQDN 2>/dev/null >> /root/.ssh/known_hosts
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment