1. SSH key가 있는지 확인
$cd ~/.ssh
2. 기존키 백업
$mkdir key_backup
$cp id_rsa* keybackup
$rm id_rsa*
3. ssh key 생성하기
$ssh-keygen -t rsa -C "이메일 주소"
Generating public/private rsa key pair.
Enter file in which to save the key
(/Users/사용자폴더/.ssh/id_rsa):엔터!
Enter passphrase (empty for no passphrase:패스워드!
Enter same passphrase again: 한번더!
*GitHub 사용법에서 퍼옴
http://help.github.com/mac-set-up-git/
No comments:
Post a Comment