Danja Vasiliev 10 éve
szülő
commit
be2867dfe6
1 módosított fájl, 9 hozzáadás és 0 törlés
  1. 9 0
      openwrt/copy_ssh_auth.sh

+ 9 - 0
openwrt/copy_ssh_auth.sh

@@ -0,0 +1,9 @@
+#!/bin/bash
+## in ~/.ssh/config we have:
+##  Host superglue
+##  HostName 192.168.1.1
+##  User root
+##  StrictHostKeyChecking no
+##  UserKnownHostsFile=/dev/null
+
+scp ~/.ssh/id_rsa.pub superglue:/etc/dropbear/authorized_keys