diff --git a/homework5.txt b/homework5.txt index fac0ef4..5aae74f 100644 --- a/homework5.txt +++ b/homework5.txt @@ -1,3 +1,7 @@ 0. What is your name and student ID? +name: 박진웅, student ID: 2021-15369 1. What is .gitignore? You can write the answer either in Korean or English. -2. Why do Github users need an SSH key pair? (Users can use either SSH key pair or github account info.) Please write down a brief explanation of SSH key \ No newline at end of file +git 버전관리에서 제외할 파일들의 목록을 저장하는 파일이다. 여기에 해당하는 파일들은 원격저장소에 올라가지 말아야 하거나 관리하지 않아도 될 파일들이다. +2. Why do Github users need an SSH key pair? (Users can use either SSH key pair or github account info.) Please write down a brief explanation of SSH key +SSH 는 원격 컴퓨터에 접속하기 위한 프로토콜이다. SSH는 Private key와 public key의 한 쌍의 키를 이용해 통신에 사용하는 컴퓨터가 맞는 지 확인한다. Public key로 통신 내용을 암호화하고 private key로 암호화된 내용을 복호화한다. +github에서는 안전하게 외부 git 서버에서 clone 하거나 push 하기 위해 ssh key pair가 사용된다. 고유의 PC는 이 ssh key와 이메일으로 구별이 되므로 외부 git 서버에서 코드를 가져오거나 내보낼 때에는 이 ssh 키를 생성하여 사용해야 한다.