479 B
479 B
A setup to test tinc on a hetzner box
steps
OPTIONAL: generate fresh ssh keys
ssh-keygen -P "" -f sshkey
OPTIONAL: generate new tinc keys
nix-shell -p tinc_pre --run "tinc --config . generate-keys 4096"
cat *.pub host_file
rm *.pub
generate machine
cd ./01-terranix
nix-shell --run "create"
provision machine
cd ./02-build
nix-shell --run deploy-server
cleanup
cd ./01-terranix
nix-shell --run "clean"