git

git public key 생성

AI Coder 2021. 3. 26. 11:09

$ssh-keygen

 

Winodwos 의 경우:

아래와 같이 C:\SPB_Data\.ssh\_rsa.pub 가 생성 되었고, 그 안의 public key를 복사하여 , git remote server 에 등록 해주면 된다. 

 

 

Ubuntu 의 경우:

# cd ~/.ssh/

# cat [file_name].pub