Genera la chiave RSA2 in formato OpenSSH in Windows

0

Devo generare una chiave, RSA v2 in formato OpenSSH. Sono un po 'confuso.

Sto provando a generarlo usando il generatore di chiavi Putty. Lì vedo un'opzione SSH2-RSA e SSH1-RSA. Quindi SSH2-RSA è la chiave RSA2 o significa qualcos'altro? Anche questa chiave è nel formato OpenSSH?

Vedo che c'è una scheda di conversione con 2 opzioni: esportare la chiave OpenSSH ed esportare la chiave ssh.com. Quindi non sono sicuro che le chiavi che ho generato siano in formato OpenSSH.

    
posta Ankur Bhatia 21.10.2015 - 17:22
fonte

1 risposta

2

Ho appena citato qui sotto il manuale di PuTTY:

Selecting the Type of Key

Before generating a key pair using PuTTYgen, you need to select which type of key you need. PuTTYgen currently supports three types of key:

An RSA key for use with the SSH-1 protocol.
An RSA key for use with the SSH-2 protocol.
A DSA key for use with the SSH-2 protocol.

The SSH-1 protocol only supports RSA keys; if you will be connecting using the SSH-1 protocol, you must select the first key type or your key will be completely useless.

The SSH-2 protocol supports more than one key type. The two types supported by WinSCP are RSA and DSA.

The WinSCP developers strongly recommend you use RSA. DSA has an intrinsic weakness which makes it very easy to create a signature which contains enough information to give away the private key! This would allow an attacker to pretend to be you for any number of future sessions. WinSCP’s implementation has taken very careful precautions to avoid this weakness, but we cannot be 100% certain we have managed it, and if you have the choice we strongly recommend using RSA keys instead.

If you really need to connect to an SSH server which only supports DSA, then you probably have no choice but to use DSA. If you do use DSA, we recommend you do not use the same key to authenticate with more than one server.

Link di riferimento: link

    
risposta data 21.10.2015 - 19:18
fonte

Leggi altre domande sui tag