Skip to content

Instantly share code, notes, and snippets.

@noelje
Last active June 10, 2020 08:01
Show Gist options
  • Save noelje/6bd3dff8a0fedd97194e8004e84b2504 to your computer and use it in GitHub Desktop.
Save noelje/6bd3dff8a0fedd97194e8004e84b2504 to your computer and use it in GitHub Desktop.
A gist showing how to initiate ssh on bash

How to initiate SSH for Github on Bash to clone Github repos etc.

(assuming that you already connected your Github acc with SSH)

eval `ssh-agent`

You will receive an Agent Pid number

ssh-add ~/file

Replace name 'file' with your own ssh file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment