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 :: CMD exec gunicorn --bind :8080 --workers 1 --threads 1 --timeout 0 main:app 
Shell :: save and close cron after modification 
Shell :: get folder size in lnux 
Shell :: linux file explorer like mac 
Shell :: killall kdevtmpfsi && killall kinsing 
Shell :: find directory inodes usage 
Shell :: clé fedora36 
Shell :: merge large amount of fastq files into a single one 
Shell :: nginx brotli 
Shell :: Remove any previous Go installation 
Shell :: ring Change the current directory 
Shell :: check if file contains string bash 
Shell :: sed beginning of file 
Shell :: Using 32768KiB of shared memory for nchan 
Shell :: uvicorn post unsupported upgrade request 
Shell :: build.sh 
Shell :: docker short flags 
Shell :: npm install hangs on lodash 
Shell :: ubuntu tftp server 
Shell :: Cannot find plugin.xml for plugin @havesource 
Shell :: ignore always ask sudo permission on folder 
Shell :: install telnet mint 9 
Shell :: get all files from folders to 1 parent folder 
Shell :: install torch librosa 
Shell :: how to install deface makers for ubuntu 
Shell :: lightweight tag git 
Shell :: go2shell settings 
Shell :: declare dataset in powershell 
Shell :: install unity on pop os 
Shell :: r install packages ERROR exporting to client 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =