2014年1月19日 星期日

Generating SSH Keys

Generating SSH Keys

Step 1: Check for SSH keys
#############################################
cd ~/.ssh
ls
# Lists the files in your .ssh directory


Step 2: Generate a new SSH key
#############################################
ssh-keygen -t rsa -C "your_email@example.com"
# Creates a new ssh key, using the provided email as a label
# Generating public/private rsa key pair.
# Enter file in which to save the key (/c/Users/you/.ssh/id_rsa): [Press enter]
ssh-add id_rsa


沒有留言:

張貼留言