Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ssh keygen

ssh-keygen -t rsa -C john@example.com
Comment

ssh keygen

ssh-keygen -t rsa -b 8192
Comment

ssh keygen

ssh-keygen -C "email"
# you can use different settings
# ssh-keygen -t ed25519 -C "your_email@example.com"
# ssh-keygen -t rsa ...
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# add the public key to remote
cat ~/.ssh/id_ed25519.pub | ssh <user>@<remote> 'cat >> ~/.ssh/authorized_keys'
# OR
ssh-copy-id -i ~/.ssh/id_ed25519.pub <user>@<remote>
Comment

ssh keygen

#generate the key
ssh-keygen -t ed25519 -C <email> -f <filename>
#copy the ssh public key
clip < ~/.ssh/<filename>.pub

#make sure to change the git remote to SSH mode!
Comment

sshkeygen

ssh-keygen -t rsa -b 2048 -f <some_name>
Comment

ssh keygen

ssh-keygen -t ed25519 -C "<comment>"
Comment

PREVIOUS NEXT
Code Example
Shell :: how to change priority in network interface ubuntu 
Shell :: npm install web3 vue 
Shell :: kill port 8080 process in linux 
Shell :: github clone submodules 
Shell :: git create branch from commit 
Shell :: insert text before cursor in vi 
Shell :: doe snot appear to be a git repository 
Shell :: git ignore .env 
Shell :: git clone a specific release 
Shell :: how to edit old commit message in git 
Shell :: copy first 100 lines from a file linux 
Shell :: vim set color scheme in vimrc 
Shell :: flask run localhost 
Shell :: du folder size 
Shell :: dbeaver password reveal 
Shell :: git delete all remote branch except master 
Shell :: How do I rename a local Git branch? 
Shell :: how to delay the start of a program linux 
Shell :: loop through a collection mongo db 
Shell :: install jupyter 
Shell :: install pip linux without root 
Shell :: git stage all 
Shell :: create user with group 
Shell :: global yarn install 
Shell :: how to reduce the size of an image in linux 
Shell :: install npm in windows 
Shell :: debian change default kernel 
Shell :: sudo apt install 
Shell :: remove last commit from remote 
Shell :: boostrap install 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =