Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ssh key git

Generate SSH Key:
$ ssh-keygen -t rsa -C "email@example.com"

Add public key to git:
$ cat ~/.ssh/id_rsa.pub
- Copy all ouput
- Open web browser and paste the output on the client settings you use.

Start SSH agent:
$ eval "$(ssh-agent -s)"

Add private key to SSH agent:
$ ssh-add ~/.ssh/id_rsa
Comment

Create GitHub SSH key

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

how to generate ssh keys for git

$ ssh-keygen -o
Generating public/private rsa key pair.
Enter file in which to save the key (/home/schacon/.ssh/id_rsa):
Created directory '/home/schacon/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/schacon/.ssh/id_rsa.
Your public key has been saved in /home/schacon/.ssh/id_rsa.pub.
The key fingerprint is:
d0:82:24:8e:d7:f1:bb:9b:33:53:96:93:49:da:9b:e3 schacon@mylaptop.local
Comment

PREVIOUS NEXT
Code Example
Shell :: angular bootstrap 
Shell :: git tutorial remove branches on local that do not exist on remote 
Shell :: directory path view 
Shell :: env variables list ubuntu 
Shell :: linux change user in terminal 
Shell :: windows print environment variable powershell 
Shell :: git ls files sort by date 
Shell :: git push -u rejected 
Shell :: linux check if using wayland or x11 
Shell :: mac address in linux 
Shell :: docker-compose build 
Shell :: bash shell remove recursive folder file rm dir 
Shell :: linux back cd 
Shell :: run latex from command line 
Shell :: linux killall python 
Shell :: what is pipe line command in linux? 
Shell :: ubuntu make executable 
Shell :: flask install venv 
Shell :: how to download youtube videos in ubuntu 20.04 
Shell :: yarn install raspberry pi 
Shell :: valet allow phpmyadmin route 
Shell :: linux whereis command 
Shell :: brew command not found 
Shell :: powershell pip CERTIFICATE_VERIFY_FAILED 
Shell :: windows could not start the apache 2.4 on local computer 
Shell :: git add all files command 
Shell :: install aws cli v2 
Shell :: git remove files from old commits 
Shell :: github add image to readme.md 
Shell :: unable to find docker images locally 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =