User Tools

Site Tools


technical_notes:public:git-create-ssh-key

Parent

Git - Create SSH Key

// Check the ssh version
ssh -v

// List the content of your ssh directory
ls -a ~/.ssh

// If you don't have an .ssh directory, don't worry
ssh-keygen

// Check if the user agent is executed
ps -e | grep [s]sh-agent

//Execute the ssh agent
ssh-agent /bin/bash

// Load you identity
ssh-add ~/.ssh/id_rsa

// Check the key use by the agent
ssh-add -l

// Display public key to copy path
cat ~/.ssh/id_rsa.pub

Resources

technical_notes/public/git-create-ssh-key.txt · Last modified: 2014/01/14 08:02 by Fabien Arcellier