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 bootstrap in angular 10 
Shell :: how to update code in github 
Shell :: readme style 
Shell :: list enviroment variables 
Shell :: start Gui on your Ubuntu 20.04 system from cli 
Shell :: commit in git 
Shell :: start uvicorn 
Shell :: chmod: Unable to change file mode Operation not permitted 
Shell :: bash colour codes 
Shell :: pip install pathlib 
Shell :: git specify ssh key for repo 
Shell :: how to install git in ubuntu ? 
Shell :: run a command with sudo su 
Shell :: docker wordpress 
Shell :: mac zip with password 
Shell :: kali tools 
Shell :: linux dd show progress 
Shell :: install scikit learn 
Shell :: tmux detach 
Shell :: wsl zsh get ip 
Shell :: valet phpmyadmin 404 
Shell :: linux find installation location 
Shell :: video player ubuntu 
Shell :: commitlint, husky, commitzen 
Shell :: adobe reader linux 
Shell :: how to install xfce 
Shell :: install aws cli version 2 mac 
Shell :: cmd copy all files to another folder 
Shell :: create user linux 
Shell :: git get current branch 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =