Skip to content

Instantly share code, notes, and snippets.

@victorabraham
Last active November 21, 2023 15:45
Show Gist options
  • Save victorabraham/cc48fac26118df7245a0d65d04f7cd33 to your computer and use it in GitHub Desktop.
Save victorabraham/cc48fac26118df7245a0d65d04f7cd33 to your computer and use it in GitHub Desktop.
Bootstrap Codespace
#!/bin/bash
cd ~/.ssh
echo "Please provide email for Github SSH. Use keyname /home/codespace/.ssh/github"
read email
ssh-keygen -t ed25519 -C $email
echo "Add/Update key got Github"
cat /home/codespace/.ssh/github.pub
eval "$(ssh-agent -s)"
ssh-add /home/codespace/.ssh/github
npm i -g sfdx-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment