Explorar o código

copy ssh pub key

Danja Vasiliev %!s(int64=10) %!d(string=hai) anos
pai
achega
be2867dfe6
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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