August 21, 2015
ssh keysbash-3.2$ ssh-keygen
Generating public/private rsa key pair. Enter file in which to save the key (/home/iorch/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/iorch/.ssh/id_rsa. Your public key has been saved in /home/iorch/.ssh/id_rsa.pub. The key fingerprint is: ec:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f iorch@ubuntosa The key's randomart image is: +--[ RSA 2048]----+ | ........ | | ...+.. | | ...B . .. | | .. o=.B E | | o o S= o . o | | + o. o = .| | + . oo + | | ...... . | | ... | +-----------------+
Esto genera un archivo id_rsa.pub en ~/.ssh/
id_ra.pub public keysEl archivo id_rsa.pub es el que deben compartir al servidor al que quieran tener acceso.
gitlab profile settings
SSH Keys
Add SSH Keys
Add SSH Keys
git clone <repo URL>git checkout -b <my-new-branch-#issue>vi/emacs/nano/atom/Xcode hello.pygit add <hello.py>git commit -m "This script says hi."git pushgit request-pull master <repo URL> master:<my-new-branch-#issue>git pullgit checkout -b <my-other-new-branch-#issue>1.bis git init
1.bis.bis git remote set-url origin <my remote repo URL>