You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

https://docs.microsoft.com/ko-kr/azure/virtual-machines/linux/create-ssh-keys-detailed

Command

ssh-keygen -t rsa -b 2048

SanseLG@SanseLG MINGW64 ~
$ ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/SanseLG/.ssh/id_rsa):
/c/Users/SanseLG/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/SanseLG/.ssh/id_rsa.
Your public key has been saved in /c/Users/SanseLG/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:/R71nn2Qwyuck3p9zXIeGCrMOUbJvEotHIMBkSRqhyI SanseLG@SanseLG
The key's randomart image is:
+---[RSA 2048]----+
| ..+o            |
|. o..            |
|Eo . .           |
|+ .   o o..      |
|     . oS=.  o.. |
|      . B o...B. |
|       + X oo= *o|
|      . + o.B.+.X|
|       .  .o.o *=|
+----[SHA256]-----+

SanseLG@SanseLG MINGW64 ~/.ssh
$ cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNEpqXlhEHUKidf4LD6RbpczTuBLEt5nYVQfgEaIKbio9+TSd9JUKSR1q4u5znKyHSTbrj7YTcRAxs7dasqPu1Wdw1S/ebTQGWcGiGAb67JRKf9NXbuLVaOFjVV01gKDNCQp2tKI1Q2Wyqcg24ajyRUPg1/cFP3Rd/e+Nrn27cUUzx/78qovyE3z6ABapVL8/lBESeqdZNMOQkMaKCsjwz5ckIx5lvnnXWqeoJZE9FyLoTsJLDRvLPiVvTVR0P/BCrDGI/adSbev/zozibz9hJPhEMKtd8G4JC5MV/Xo05U1+qpR8dp9vRaCoAEBecoUEyk8BY1wvM1TtqmhzfZEMv SanseLG@SanseLG


ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNEpqXlhEHUKidf4LD6RbpczTuBLEt5nYVQfgEaIKbio9+TSd9JUKSR1q4u5znKyHSTbrj7YTcRAxs7dasqPu1Wdw1S/ebTQGWcGiGAb67JRKf9NXbuLVaOFjVV01gKDNCQp2tKI1Q2Wyqcg24ajyRUPg1/cFP3Rd/e+Nrn27cUUzx/78qovyE3z6ABapVL8/lBESeqdZNMOQkMaKCsjwz5ckIx5lvnnXWqeoJZE9FyLoTsJLDRvLPiVvTVR0P/BCrDGI/adSbev/zozibz9hJPhEMKtd8G4JC5MV/Xo05U1+qpR8dp9vRaCoAEBecoUEyk8BY1wvM1TtqmhzfZEMv SanseLG@SanseLG

  • No labels