Answered by : lazy-lark-dwikzku7m2bj
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Source : https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | Last Update : Wed, 22 Apr 20
Answered by : von-christian-delos-santos
# Generating an ssh-keygen
# Change directory to the ssh directory
cd ~/.ssh
# Create SSH Key
ssh-keygen -o -t rsa -C "[email protected]"
# Add SSH Key (not the .pub file) to SSH Agent
eval `ssh-agent -s`
ssh-agent -s
ssh-add ~/.ssh/filename
# Create SSH Config file (~/.ssh/config)
"""
# Personal GitHub
Host github.com HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/personal_rsa
# Non-Personal GitHub
Host nonpersonal.github.com HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/nonpersonal_rsa
"""
# ssh-add
ssh-add -l
# test
ssh -T [email protected]
ssh -T [email protected]
# Copy the contents of the ssh key public file (.pub file) to clipboard
# (WSL2 Specific)
cat filename.pub | clip.exe
# Go to "https://github.com/settings/keys"
# Click New SSH Key
# Paste the contents of the public file to Key
# Click Add SSH Key
# Go to the repository of the project you want to clone
# Select the SSH Link and copy it to the clipboard
# Then clone the repo
git clone [email protected]:SOME_ORGANIZATION/SOME_PROJECT.git
Source : | Last Update : Mon, 15 Aug 22
Answered by : tame-tapir-yb2xlgmhx8lv
$ ssh-keygen -t ed25519 -C "[email protected]"
Source : https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | Last Update : Wed, 18 Nov 20
Answered by : elated-eel-aq2hcccuonrc
{"tags":[{"tag":"textarea","content":"$ ssh-keygen -t ed25519 -C \"[email protected]\"","code_language":"shell"}]}
Source : https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | Last Update : Thu, 23 Feb 23
Answered by : alien0w0
ssh-keygen -t ed25519 -C "[email protected]"
Source : | Last Update : Sat, 03 Apr 21
Answered by : precious-puffin-3wy1ninz4ful
{"tags":[{"tag":"textarea","content":"$ ssh-keygen -t rsa -b 4096 -C \"[email protected]\"","code_language":"shell"}]}
Source : https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | Last Update : Sun, 12 Mar 23
Answered by : ohachor-victor
$ ssh-keygen -t ed25519-sk -C "[email protected]"
Source : https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | Last Update : Tue, 31 Aug 21
Answered by : shadow-gaming
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Source : | Last Update : Thu, 01 Dec 22
Answered by : gimnath-priyadarshana-perera
ssh-keygen -t rsa -C "[email protected]"
Source : | Last Update : Thu, 07 Jul 22