Git & GitHub
vybn forwards your local SSH agent to the VM automatically, so you can push to GitHub (or any Git remote) using the SSH keys on your local machine — no credentials need to be stored on the VM.
1. Add an SSH key to GitHub
Section titled “1. Add an SSH key to GitHub”If you haven’t already:
2. Load your key locally
Section titled “2. Load your key locally”Make sure your SSH key is loaded in your local agent before connecting:
# Check if your key is loadedssh-add -l
# If not, add itssh-add ~/.ssh/id_ed255193. Connect and use Git
Section titled “3. Connect and use Git”vybn connectOn the VM, Git operations over SSH work normally:
git clone git@github.com:youruser/yourrepo.gitgit push origin main- Agent forwarding only lasts for the duration of your SSH session. If you disconnect and reconnect, forwarding resumes automatically as long as your local agent still has the key loaded.
- Use SSH URLs (
git@github.com:...) for remotes, not HTTPS URLs. - If
ssh-add -lshows “The agent has no identities” on your local machine, your key isn’t loaded and forwarding won’t work.