puttygen⽣成公私钥_如何使⽤Puttygen⽣成腻⼦密钥?
puttygen⽣成公私钥
Puttygen is used to generate ssh public and private keys for putty. We can use a different type of encryption algorithm bit sizes and ssh versions. In this tutorial, we will look at useful examples of puttygen.
Puttygen⽤于⽣成SSH的SSH公钥和私钥。 我们可以使⽤其他类型的加密算法,位⼤⼩和ssh版本。 在本教程中,我们将看⼀些有⽤的Puttygen⽰例。
script标签什么意思
将Puttygen安装到Linux (Install Puttygen To Linux)
puttygen is provided with putty packages most of the Linux distributions like Ubuntu, Debian, Fedora, CentOS, RedHat.
puttygen提供了⼤多数Linux发⾏版中的putty软件包,例如Ubuntu,Debian,Fedora,CentOS,RedHat。
Ubuntu,Debian (Ubuntu, Debian)
puttygen tool is provided with the putty package in Debian, Mint, Ubuntu, Kali.
在Debian,Mint,Ubuntu,Kali的putty软件包中提供了puttygen⼯具。
$ sudo apt install putty
Install Puttygen To Linux
将Puttygen安装到Linux
Fedora,CentOS,RedHat (Fedora, CentOS, RedHat)
puttygen tool is provided with the putty package in Fedora, CentOS, RedHat.
Fedora,CentOS和RedHat中的putty软件包随附了puttygen⼯具。
$ sudo yum install putty
视窗 (Windows)
Windows binaries are provided with the following URL.
Windows⼆进制⽂件带有以下URL。
32位 (32 bit)
64位 (64 bit)
html字体颜大小代码
puttygen命令语法 (puttygen Command Syntax)
The syntax of puttygen is like below. puttygen is a simple command where there are two parameters named KEYFILE, OPTIONS.
puttygen的语法如下。 puttygen是⼀个简单的命令,其中有两个名为KEYFILE,OPTIONS的参数。
puttygen KEYFILE OPTINONS
KEYFILE is the file we read
KEYFILE是我们读取的⽂件
OPTIONS are used to specify size, output key file, etc.
网页制作软件培训机构OPTIONS⽤于指定⼤⼩,输出密钥⽂件等。
从puttygen GUI创建密钥 (Create Key From puttygen GUI)
类似征途的网页游戏
puttygen tool is provided with a GUI in Windows operating systems. We can download this GUI tool which is explained in the Download For Windows section. Then from the tool, we will be provided a simple screen where we can set different parameters about the cryptographic key creation.
Windows操作系统中的GUI附带了puttygen⼯具。 我们可以下载此GUI⼯具,这在Windows的下载部分中进⾏了说明。 然后,通过该⼯具,我们将提供⼀个简单的屏幕,其中我们可以设置有关密码密钥创建的不同参数。
Create Key From puttygen GUI
从puttygen GUI创建密钥
We can see that there is 3 main part of the window.
我们可以看到窗⼝有3个主要部分。
Key part provides the key in ASCII format.
Key部分以ASCII格式提供密钥。
Actions part will provide buttons for Key generation, Load Existing Key, Save Public Key, Save Private Key.
Actions部分将提供⽤于⽣成密钥,加载现有密钥,保存公共密钥,保存私有密钥的按钮。
Parameters part provides the key type selection like RSA, DSA, ECDSA, ED25519, SSH-1 (RSA), and the size of the key as bits where default size is 2048 which is accepted as secure.
Parameters部分提供了密钥类型选择,例如RSA , DSA , ECDSA , ED25519 , SSH-1 (RSA) ,以及密钥的⼤⼩(以位为单位),默认⼤⼩为2048,可以接受此保护。
了解更多信息如何通过⽰例安装和使⽤Linux Minicom命令教程?
使⽤Puttygen GUI创建2048个RSA密钥 (Create 2048  RSA Key with Puttygen GUI)
We can generate an RSA key which is 2048 bit by using the following configuration for the puttygen. We will click on the Generate button with the default parameters. As cryptography and security are based randomness puttygen need real random data that can be provided with the random mouse hovering over the screen.
我们可以通过对puttygen使⽤以下配置来⽣成⼀个2048位的RSA密钥。 我们将单击带有默认参数的Generate按钮。 由于密码学和安全性是基于随机性的,因此腻⼦需要真正的随机数据,这些数据可以通过⿏标悬停在屏幕上来提供。
Create 2048  RSA Key with Puttygen GUI
使⽤Puttygen GUI创建2048个RSA密钥
At the end of the key generation, the following screen will appear where information about the generated key will be presented.
在密钥⽣成结束时,将出现以下屏幕,其中将显⽰有关所⽣成密钥的信息。
Create 2048  RSA Key with Puttygen GUI
使⽤Puttygen GUI创建2048个RSA密钥
Key fingerprint is a value that uniquely identifies the created key.
Key fingerprint是唯⼀标识创建的密钥的值。
Key comment is a short description of the created key.
Key comment是对创建的键的简短描述。
Key passphrase is a passphrase or password to encrypt the created key.
Key passphrase是⽤于加密创建的密钥的密码短语或密码。
We can also create different types and sizes of the keys by changing parameters like below.
我们还可以通过更改如下所⽰的参数来创建不同类型和⼤⼩的键。
免费数据库工具Create 2048  DSA Key with Puttygen GUI
使⽤Puttygen GUI创建2048 DSA密钥
Create 4096 RSA Key with Puttygen GUI
使⽤Puttygen GUI创建4096个RSA密钥centos和ubuntu
Create 4096 DSA Key with Puttygen GUI
使⽤Puttygen GUI创建4096个DSA密钥
将现有密钥加载到Puttygen GUI(Load Existing Key To Puttygen GUI)
We can load existing puttygen generated key or key pairs easily. We will use the Load button where we can specify the key file.
我们可以轻松加载现有的puttygen⽣成的密钥或密钥对。 我们将使⽤“ Load按钮来指定密钥⽂件。
Load Existing Key To Puttygen GUI
将现有密钥加载到Puttygen GUI
将⽣成的公钥保存到⽂件 (Save Generated Public Key To A File)
After creating a Public and Private Key Pair we can save these created keys. We can save generated Public Key into a file with the Save public key.
创建公钥和私钥对后,我们可以保存这些创建的密钥。 我们可以使⽤Save public key将⽣成的Public Key保存到⽂件中。
Save Generated Public Key To A File
将⽣成的公钥保存到⽂件
将⽣成的私钥保存到⽂件(Save Generated Private Key To A File)
We can also save the generated Private Key into the file with the Save private key button like below.
我们还可以使⽤“ Save private key按钮将⽣成的私钥保存到⽂件中,如下所⽰。

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。