Batch deployment of DSA key (SSH) and schedule backup with export
Pasting in script and information very soon.
%ssh-keygen -t dsa
This creates a DSA key pair that is compatible with Mikrotik.
Make a file on your *nix host with the following content.
#!/bin/sh scp key_for_backup admin@$1:. ssh admin@$1 "user ssh-keys import file=key_for_backup user=admin" echo "$1 " >> node_liste
$1 in this script is the first argument passed from command line with the script. It should be a hostname or a ip adresse.
yeah and more text. even more text
here comes script two