반응형
윈도우10 SSH 공개키 생성
윈도우10에서 ssh 공개키를 생성하고 위치를 확인한다.

윈도우 SSH 공개키 생성
ssh 키 만들기
윈도우10에서 공개키를 생성하는 방법은 리눅스와 매우 유사하다. PowerShell 을 열고 터미널에서 ssh-keygen.exe 를 실행한다.
C:\> ssh-keygen.exe
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\user/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\user/.ssh/id_rsa.
Your public key has been saved in C:\Users\user/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:2f1dsnDg4H----------------FHw6t0KI5OBto user@DESKTOP-ULCLBCG
The key's randomart image is:
+---[RSA 3072]----+
| . |
| + |
| + + |
| . .o + |
| o . oSo.B.* + |
| . E ------ +|
| + + o .oB+|
| . +. ++.=|
| .o+. o+oo|
+----[SHA256]-----+
ssh 공개키 (id_rsa.pub) 는 아래 위치에 생성된다.
cat C:\Users\user\.ssh\id_rsa.pub
ssh-rsa AAAA...L4V57CwiUvTM= user@DESKTOP-ULCLBCG
참고자료
https://www.howtogeek.com/762863/how-to-generate-ssh-keys-in-windows-10-and-windows-11/
How to Generate SSH keys in Windows 10 and Windows 11
If part of your life includes logging in to a remote server be it for a self-hosted blog, a Nextcloud installation, or sending your latest changes to GitHub, you need SSH keys. In Windows 10 and 11 we are spoiled for choice when it comes to generating new
www.howtogeek.com
반응형
'기타 > Windows' 카테고리의 다른 글
Windows 11 WSL 기본 사용자 변경 (0) | 2023.03.04 |
---|---|
WSL을 사용하여 Windows에 Linux 설치 (0) | 2023.01.28 |
Windows 11 마우스 우측 메뉴 변경 (0) | 2022.09.10 |
[VMware] 게스트 OS 고정아이피 설정 (0) | 2022.06.07 |
[윈도우] Windows 터미널 ssh 프로필 추가 (0) | 2022.05.26 |
[윈도우] 창분할 가능한 Windows 터미널 설치하기 (0) | 2022.05.23 |
[WSL] VcXsrv Windows X Server (0) | 2021.10.14 |
[Windows] WSL 파일 위치 (0) | 2021.09.18 |