The environment is in MacBook
- Turn on the terminal then generate the key
ssh-keygen - Afterwards, see the pathway of files

- id_rsa: private key
- id_rsa.pub: public key
- known_hosts: server information whom accpeted the connection
- Find out the public key (id_rsa.pub) and pass the file to the administor of remote service (usually the Site Reliability Engineer)

- While the SRE finished, test the connection with password (which is set previously).

- If the everything alright, please keep the two keys (id_rsa and id_rsa.pub) somewhere else to keep the connection work once the local computer changed.

![[JavaScript] 關於模組化、匯入、匯出](https://static.coderbridge.com/images/covers/default-post-cover-1.jpg)
![[Day 01] 單例模式及簡單工廠設計模式](https://static.coderbridge.com/images/covers/default-post-cover-2.jpg)
