Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

terminal git add ssh key

$ ssh-add ~/.ssh/id_rsa
Comment

windows git ssh key add

(if youre having problems)
cd path-to-Git/bin (for me : cd C:Program FilesGitin)
bash
$ exec ssh-agent bash
$ ssh-add your-key-location
Comment

git add ssh key

To add a default ssh key tied to Windows from cmd for git: $ is things you type, > is output

$ ssh-keygen 
> Generating public/private rsa key pair.
> Enter file in which to save the key (/c/Users/emmap1/.ssh/id_rsa):    [Enter for default] 
> Created directory '/c/Users/emmap1/.ssh'.
$ Enter passphrase (empty for no passphrase): [password]
$ Enter same passphrase again:  [password]
> Your identification has been saved in /c/Users/emmap1/.ssh/id_rsa.
> Your public key has been saved in /c/Users/emmap1/.ssh/id_rsa.pub.
> The key fingerprint is: e7:94:d1:a3:02:ee:38:6e:a4:5e:26:a3:a9:f4:95:d4 emmap1@EMMA-PC

If you want to avoid typing in your password each time:
$ start-ssh-agent
> Removing old ssh-agent sockets
> Starting ssh-agent:  done
$ Enter passphrase for /c/Users/user/.ssh/id_rsa: [password]

Comment

PREVIOUS NEXT
Code Example
Shell :: install nvm 
Shell :: ubuntu 20.04 install nginx 
Shell :: laravel permission ubuntu lamp 
Shell :: pull a specific branch from github 
Shell :: raspberry pi default username 
Shell :: macbook pro mac address 
Shell :: screenshot to clipboard ubuntu 20 
Shell :: multiple ssh key 
Shell :: what is my user ubuntu 
Shell :: cmd refresh path 
Shell :: git add identity 
Shell :: bash script cd into script dir 
Shell :: ubuntu releases 
Shell :: show list of branches git 
Shell :: how to install phpmyadmin with nginx on ubuntu 20.04 
Shell :: create empty file command prompt cmd 
Shell :: using npm and yarn together 
Shell :: take sudo access inside vim 
Shell :: kubectl port-forward 
Shell :: rename multiple files in linux 
Shell :: push to existing repo github 
Shell :: read the file from shell 
Shell :: how to shutdown windows 11 in powershell 
Shell :: gitignore all files and folders in only one folder 
Shell :: the current branch has no upstream 
Shell :: download pdf arranger ubuntu 
Shell :: compare two files shell script 
Shell :: android get armeabi 
Shell :: ssh kali linux command 
Shell :: how to use brew to install ganache 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =