[英]what is the difference between various keys in public key encryption
I am confused between various keys used in encryption. 我在加密中使用的各种密钥之间感到困惑。
Amazon gave me key.pem
亚马逊给了我
key.pem
In linux i generate keys like id_rsa
and id_rsa.pub
在linux中我生成
id_rsa
和id_rsa.pub
等密钥
Now putty used key like key.ppk
现在putty使用了
key.ppk
类的key.ppk
I am really confused what type of key is used where 我真的很困惑在哪里使用什么类型的密钥
key.pem can contain anything - a certificate with a public key, an SSH public key, public key + private key, certificate with a public key + private key. key.pem可以包含任何内容 - 带有公钥的证书,SSH公钥,公钥+私钥,带有公钥的证书+私钥。 PEM is a text file so you can open it in notepad and check its contents.
PEM是一个文本文件,因此您可以在记事本中打开它并检查其内容。
id_rsa is an SSH private key in OpenSSH format. id_rsa是OpenSSH格式的SSH私钥。 id_rsa.pub is an SSH public key in OpenSSH format.
id_rsa.pub是OpenSSH格式的SSH公钥。
.ppk file is Putty's private key (if memory serves). .ppk文件是Putty的私钥(如果内存服务)。
To authenticate on remote server you give its admins your public key and use the private key in your SSH client. 要在远程服务器上进行身份验证,请为其管理员提供公钥,并使用SSH客户端中的私钥。 Alternatively (if admins give you the key pair), you use the private key from that keypair.
或者(如果管理员为您提供密钥对),您可以使用该密钥对中的私钥。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.