Skip to content

Instantly share code, notes, and snippets.

@nissan
Created July 3, 2023 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nissan/145c63dc05d48c78c8c3e80a0ea56242 to your computer and use it in GitHub Desktop.
Save nissan/145c63dc05d48c78c8c3e80a0ea56242 to your computer and use it in GitHub Desktop.
Add SSH keys so no prompts for password in session
#! /bin/bash
eval $(ssh-agent)
#assuming this is the path of the key, change as needed
ssh-add ~/.ssh/id_ed25519
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment