From 43fcfaa6bcf02035141025b12a408a5ef10833f3 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 15 May 2019 18:15:40 -0400 Subject: [PATCH] persistent ssh host keys, ipv6 ssh, whitespace --- wrt-setup | 2 +- wrt-setup-local | 134 ++++++++++++++++++++++++++++-------------------- 2 files changed, 80 insertions(+), 56 deletions(-) diff --git a/wrt-setup b/wrt-setup index 96a2564..9ac518a 100755 --- a/wrt-setup +++ b/wrt-setup @@ -49,7 +49,7 @@ echo "$0: host=$h" cat ~/.ssh/home.pub | ssh $h dd of=/etc/dropbear/authorized_keys 2>/dev/null scp /a/work/libremanage/libremanage /a/bin/fai/wrt-setup-local /a/bin/cedit/cedit $h:/usr/bin # relay is built for openwrt 18.06.2, r7676-cddd7b4c77 -sudo scp /q/root/shadow/router \ +sudo scp /q/root/shadow/router /p/c/machine_specific/wrt/etc/dropbear/dropbear_rsa_host_key \ /a/opt/openwrt/source/bin/packages/mips_24kc/mypackages/relay_1.0-1_mips_24kc.ipk $h: ssh $h <