Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- PyTorch
- PSNR
- 대칭키
- ARIMA
- kl divergence
- Spectral GNN
- cross-entropy
- deepseek
- GNN
- prompt engineering
- Grad-CAM
- 사회 네트워크 분석
- GCP
- zachary’s karate club
- public key
- 생성 모델 평가
- ChatGPT
- Transductive Learning
- Inductive Learning
- Google Cloud
- Spatial GNN
- 이상 탐지
- session 미종료
- DeepLearing.AI
- posterior collapse
- Vertex AI
- SSIM
- python3
- mode collapse
- 생성 모델
Archives
- Today
- Total
데이터 과학 노트
VM 에 공개키 추가 본문
- Local machine 에서 AWS/GCP/Azure 등의 VM 에 접속할 경우 Public Key / Private Key (대칭키) 이용이 필요하다.
- 네트워크 상에 ID/Password 가 암호화 없이 전송된다면 탈취의 위험이 있다.
- 따라서 public key 로 암호화 시키고 private key 복호화 시켜 주요 정보를 안전히 전달 할 수 있다.
# 생성된 키 확인
(local) ls ~/.ssh/ # id_rsa id_rsa.pub known_hosts
# 목록에 id_rsa.pub 가 없다면 공개키 생성
(local) ssh-keygen -t rsa
# Option 01: ssh-copy-id util을 이용하여 공개키를 VM에 복사
(local) ssh-copy-id remote_username@vm_server_address
# Option 02:
(local) cat ~/.ssh/id_rsa.pub
ssh-rsa AA...ZZ= username@machine-ubuntu
(remote) vim /.ssh/authorized_keys # insert "ssh-rsa AA...ZZ= username@machine-ubuntu"
'Computer Science > Computer Networks' 카테고리의 다른 글
| URI, URL 차이 (Protocol) (0) | 2023.03.25 |
|---|