copy_ssh_auth.sh 224 B

123456789
  1. #!/bin/bash
  2. ## in ~/.ssh/config we have:
  3. ## Host superglue
  4. ## HostName 192.168.1.1
  5. ## User root
  6. ## StrictHostKeyChecking no
  7. ## UserKnownHostsFile=/dev/null
  8. scp ~/.ssh/id_rsa.pub superglue:/etc/dropbear/authorized_keys