This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| mkdir -p ~/.ssh | |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGxtRkD8VmCbMDsz7U7+Esxu9t1IKz3T418pCcUusekg timothy.schwarz@qvc.com" >>~/.ssh/authorized_keys | |
| chmod 700 ~/.ssh | |
| chmod 600 ~/.ssh/authorized_keys | |
| echo done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| echo "Installing Tailscale..." | |
| curl -fsSL -o /tmp/Tailscale.pkg "https://pkgs.tailscale.com/stable/Tailscale-latest-macos.pkg" | |
| sudo installer -pkg /tmp/Tailscale.pkg -target / | |
| open -a Tailscale | |
| sleep 3 | |
| /Applications/Tailscale.app/Contents/MacOS/Tailscale up --ssh |