Skip to content

Instantly share code, notes, and snippets.

@afahitech
Last active December 3, 2021 15:47
Show Gist options
  • Select an option

  • Save afahitech/1d52dd34c1e5f63d5bbce7b378ee0a7b to your computer and use it in GitHub Desktop.

Select an option

Save afahitech/1d52dd34c1e5f63d5bbce7b378ee0a7b to your computer and use it in GitHub Desktop.
Generating a new SSH key Linux
#!/bin/bash
$ ssh-keygen -t rsa -b 4096 -C "afahitech@gmail.com"
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ cat /home/hira/.ssh/id_rsa.pub
# YouTybe: https://youtu.be/qiB5bWrNrOs
@cloudybdone

Copy link
Copy Markdown

Very helpful!

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