Configurate credentials for clone a private proyect from github
Creating a private an public key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"Move the key to ~/.ssh directory
mv [file-name-rsa] ~/.ssh
mv [file-name-rsa.pub] ~/.sshLaunch SSH-Agent in background
eval `ssh-agent -s`Add the key to ssh-agent
ssh-add ~/.ssh/[file-name-rsa]
ssh-keygen -p -f ~/.ssh/[file-name-rsa]View SSH-Agent status
ssh-agentForget a key after a seconds.
ssh-add -t <seconds>View ssh keys in server
cd ~/.sshInstall 'clip' package to copy information to clipboard
# copy
sudo apt-get install xclip
# copy to clipboard
xclip -o | xclip -sel clip
# paste
xclip -o -sel clip > file.txt