My personal development environment, setup using viaduct.
Currently used as a way to understand what features need adding to Viaduct itself.
sudo apt install git curl xclip -y
Create a password and copy into paste buffer:
openssl rand -hex 32 > ssh.pw
cat ssh.pw | xclip -selection clipboard
Generate a new key:
ssh-keygen -t ed25519
Login and add it to GitHub.
echo "Defaults env_keep+=SSH_AUTH_SOCK" | sudo tee -a /etc/sudoers
Log out and log back in
Download a binary from GitHub releases.
Configure known hosts:
sudo mkdir -p /root/.ssh && sudo chmod 0600 /root/.ssh
ssh-keyscan github.com | tee ~/.ssh/known_hosts | sudo tee /root/.ssh/known_hosts
Add identity:
ssh-add -k
Configure for home install (optional):
touch ~/.myducthome
Configure system:
sudo ./myduct