Skip to content

Instantly share code, notes, and snippets.

hostname: home
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3jgFKxrss3UAH90uU5r13nifNeG1kwFKj8TpQvCuE5tYJg9MpXc52qB9GcidFLqdqfHK6Y5ApWroWreff8kXEhLmQcRylGumU/a0HZruaNOvPe42zibx/35qTlnSIP6fQL0xRDyuxFlWZ+P6k8iF55H5zpzuyfLshS8DCKXHuLufdzFJj5+m7TjNlgCmt9e0Q80g06uxQxuF0BW/fGD/4oOvn0dEgCElD+EOXy1plBKID6RdwyiZsvYj8KZkUo2cpv8hnan+oeemkYtcsQKj3VRH/xH4NBPHsRDnLUoxa5Q8LQq3jh/lrFpU83C2ofRCDDRUlgd8BAyBGFyc2pzcH dan@xps13
#!/bin/bash
set -e
src=$1
dst=$2
exit_error() {
echo "Error: $1" >&2
exit 1
}