瀏覽代碼

copy ssh pub key

Danja Vasiliev 10 年之前
父節點
當前提交
be2867dfe6
共有 1 個文件被更改,包括 9 次插入0 次删除
  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