github ssh key setup

$ ssh-keygen -t ed25519 -C "your_email@example.com"
# start the ssh-agent in the background
$ eval "$(ssh-agent -s)"
> Agent pid 59566
ssh-add ~/.ssh/id_ed25519
clip < ~/.ssh/id_ed25519.pub

add ssh key to github

$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist

add ssh keys to github

1. ssh-keygen -o -t rsa -C "your_email@example.com"
2. Press return for each option
3. cat ~/.ssh/id_rsa.pub
4. Copy the entire cat's output on "Settings - SSH and GPG keys - New SSH key" on GitHub

generate ssh key github

$ ssh-keygen -t ed25519-sk -C "your_email@example.com"

Create GitHub SSH key

ssh-keygen -t rsa -C "ex@email.com"

Create SSH Key For Github

# Generating an ssh-keygen

# Change directory to the ssh directory
cd ~/.ssh

# Create SSH Key
ssh-keygen -o -t rsa -C "email@email.com"

# 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 git@github.com
ssh -T git@nonpersonal.github.com

# 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 git@github.com:SOME_ORGANIZATION/SOME_PROJECT.git

Shell/Bash相关代码片段

cassandra download zip

github login ssh

math, math.js, mathjs

how to set alias in debian

how to move changes to another branch git

npm stripe

ffprobe for video resolution

npm not working

shell parameter expansion

shell string manipulation

shell manipulation

download skype deb

fish shell batch process file

lualatex install

git get folder from one repo to another

create virtual hosts in rocky linux

ubuntu docker image

dotnet remove package from cache

brew cdk not found

STEAM LINUX APEX NOT WORKING

unrar password protected rar file

alias pip to pip3

zsh compinit

linux check docker daemon running

git how to uncommit a commit --amend

remove containers with images and volumns

tauri cargo

can you upgrade the ram in msi p65 creator

ubuntu ssh add private keys

ssh-copy-id proxy jump

postgresql shell

powershell allow port 27017 udp tcp

ufw allow from interface

mac compress folder

shell escape

bash scripting cheat sheet

how to install prisma

uploadthing install

docker pull stuck on waiting

golang nodemon

powershell alias for git

winetricks.sh

gnome software not showing nvidia

sed remove lines between matches

cannot install dotenv python

Download ProtonVPN Fedora

give file execute permission mac

git diff show only changed lines

WINE keyrings setup

install opencv runtime only on linux ubutnu

Wine PGP key setup

smartctl fedora install

linux reload sysctl.conf

npm install formidable

docker build print logs

kill connection using process id

connections to port netstat command windows

linux adapter command

see existing users linux

resolv.conf search

nativefier ubuntu

ubuntu dart sdk path flutter

kubernetes ssh into pod

pass variable from one script to another bash

rm nvidia driver linux ubuntu

ngrok for ubuntu

where are pip packages installed

git authen failed

bun list global packages

ubuntu os update login black screen

adb packages path

windows command create file

swithc pphh versoij ubuntu

apache2 installation missing files

uninstall simple screen recorder

insteall .deb

cpptraj rmsd each traj

kill all dockers

upgrade to rustc 1.70.0

ubuntu search process by pid