Advertisement
adityasuman100

Untitled

Mar 2nd, 2025
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. ssh-keygen -t rsa -C "your-email-address" -f "github-username"
  2. eval "$(ssh-agent -s)"
  3. ssh-add c:/Users/YOU/.ssh/id_ed25519
  4.  
  5. now make a config file in ~/.ssh/ folder
  6.  
  7. # content of config file
  8. Host github.com
  9.   HostName github.com
  10.   User git
  11.   IdentityFile ~/.ssh/id_ed25519
  12.  
  13. ssh -T git@github.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement