Linux+ V8 RSA and Ed25519 SSH Key Types Quiz

Reviewed by Joshua Gelman
Joshua Gelman, CompTIA Certified |
CompTIA Expert
Review Board Member
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
, CompTIA Certified
By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 12 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the default filename for the Ed25519 private key created by ssh-keygen?

Explanation

When `ssh-keygen` generates an Ed25519 key pair, it uses `id_ed25519` as the default filename for the private key. The matching public key is saved as `id_ed25519.pub`.

Submit
Please wait...
About This Quiz
Linux+ V8 Rsa and Ed25519 Ssh Key Types Quiz - Quiz

This quiz evaluates your understanding of SSH key types, specifically RSA and Ed25519 algorithms, as required for CompTIA Linux+ V8 certification. You'll test knowledge of key generation, security properties, performance characteristics, and practical implementation in Linux environments. Master these cryptographic fundamentals to secure remote access and advance your Linux administration... see moreskills. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which command generates a new Ed25519 SSH key pair?

Explanation

The `-t` option specifies the key type for `ssh-keygen`. Using `-t ed25519` generates a new Ed25519 public and private SSH key pair.

Submit

3. True or False: Ed25519 private keys are smaller than RSA 2048-bit private keys.

Explanation

Ed25519 uses a compact private key, typically stored as a 32-byte seed (or 64 bytes in some formats). An RSA 2048-bit private key contains several large mathematical values and usually requires substantially more storage—often around a kilobyte or more when encoded. Thus, an Ed25519 private key is smaller.

Submit

4. True or False: Ed25519 keys are faster to generate and verify compared to RSA keys of equivalent security strength.

Explanation

Ed25519 uses efficient elliptic-curve operations and provides roughly 128-bit security with small keys. Compared with RSA keys offering similar security, it generally generates keys and verifies signatures more quickly, while also requiring less storage and bandwidth. Actual performance can vary with hardware and software implementations.

Submit

5. What is the primary cryptographic basis of Ed25519?

Explanation

Ed25519 is a digital signature scheme built on elliptic curve cryptography. It uses the twisted Edwards form of Curve25519, operating over a finite field. Its security relies on the difficulty of solving the elliptic-curve discrete logarithm problem, rather than integer factorization or hash-based signature constructions. Private keys generate public points, and signatures are verified through curve operations.

Submit

6. Which command displays the fingerprint of an SSH public key for verification?

Explanation

`ssh-keygen -l -f keyfile` displays the key’s fingerprint and key details from the specified file, allowing you to verify that the public key matches the expected one.

Submit

7. True or False: Ed25519 is considered more resistant to side-channel attacks than RSA.

Explanation

Ed25519 is often considered less vulnerable to side-channel attacks because it supports efficient, constant-time implementations and avoids some of the timing-sensitive operations common in RSA, such as variable-time modular exponentiation. However, resistance is not automatic: implementation quality, hardware, and operational practices matter, and a poorly implemented Ed25519 system can still leak secrets.

Submit

8. True or False: RSA keys are vulnerable to quantum computing attacks in the future.

Explanation

RSA’s security depends on the difficulty of factoring very large numbers. A sufficiently powerful, fault-tolerant quantum computer could use Shor’s algorithm to factor those numbers much faster than classical computers, potentially making widely used RSA keys insecure. Current quantum computers are not yet capable of breaking practical RSA keys.

Submit

9. Which file format is used to store public SSH keys in the authorized_keys file?

Explanation

The authorized_keys file uses the OpenSSH public-key format: each entry typically contains a key type, a Base64-encoded key, and an optional comment. PEM, DER, and PKCS#8 are other key encodings, commonly associated with private-key storage or different applications, rather than the standard format for entries in this file.

Submit

10. True or False: RSA and Ed25519 keys can be used interchangeably in SSH configuration files.

Explanation

RSA and Ed25519 are different public-key algorithms, with distinct key formats and cryptographic properties. An SSH configuration can point to either type of private key, but one key cannot simply substitute for the other. The SSH server and client must also support the chosen algorithm, and the matching public key must be authorized on the server.

Submit

11. What is the recommended passphrase length for protecting SSH private keys?

Explanation

A passphrase helps protect an SSH private key if the key file is accessed by someone unauthorized. Using at least 12 characters makes it harder to guess or crack, especially when the passphrase is unique and not reused.

Submit

12. Which SSH key type is backward compatible with older SSH implementations?

Explanation

RSA has been supported by SSH implementations for many years, making it a widely compatible choice when connecting to older systems. Ed25519 and ECDSA were introduced later and may not be supported by legacy SSH software.

Submit

13. RSA key generation relies on the difficulty of factoring large ____ numbers.

Explanation

RSA key generation selects two large prime numbers and multiplies them to create a public modulus. While multiplication is straightforward, factoring that modulus back into its original primes is computationally difficult, which underpins RSA’s security.

Submit

14. Ed25519 keys are typically ____ bits in length.

Explanation

Ed25519 is an elliptic-curve cryptography scheme based on the Curve25519 family. Its keys are commonly described as 256 bits long: the public key is 32 bytes, and the private key is typically represented by a 32-byte seed. A signature is 64 bytes, or 512 bits.

Submit

15. What is the standard key size for RSA keys recommended for modern SSH security?

Explanation

RSA keys of 2048 bits or more provide stronger protection against factoring attacks than 512- or 1024-bit keys. A 2048-bit key is generally considered the minimum for modern SSH security, while larger keys can offer additional security.

Submit

16. Ed25519 uses the ____ elliptic curve for its operations.

Explanation

Ed25519 is a digital-signature scheme built on the twisted Edwards form of the elliptic curve associated with Curve25519. This curve provides efficient operations and strong security when used with Ed25519’s carefully defined signing and verification procedures. Although the names differ, Ed25519 and X25519 use closely related forms of the same underlying curve.

Submit

17. Which SSH key algorithm was released in 2011 and is considered more secure than RSA for the same key size?

Explanation

Ed25519, introduced in 2011, is a public-key signature algorithm based on Edwards-curve cryptography. It provides strong security with relatively short keys and signatures, making it more efficient than RSA while offering comparable or greater security at similar key sizes. DSA, ECDSA, and DH are different algorithms or key-agreement methods.

Submit

18. The ssh-keygen utility stores private keys in ____ directory by default.

Explanation

By default, `ssh-keygen` saves generated private keys in the hidden `.ssh` directory inside the user’s home directory. For example, a key might be stored at `~/.ssh/id_ed25519`. This directory can also contain public keys and SSH configuration files. Restrictive file permissions help protect private keys from unauthorized access.

Submit

19. RSA signatures are generated using the ____ algorithm.

Explanation

PKCS#1 (Public-Key Cryptography Standards #1) specifies how RSA keys and operations are used, including digital-signature schemes such as RSASSA-PKCS1-v1_5 and RSA-PSS. These schemes encode and pad the message digest before applying the RSA private-key operation, allowing recipients to verify the signature with the public key. Thus, RSA signatures commonly follow PKCS#1.

Submit

20. The ssh-copy-id command appends a public key to the ____ file on the remote host.

Explanation

`ssh-copy-id` copies your public key to the remote account and adds it to `~/.ssh/authorized_keys`. SSH checks this file during login to verify whether the connecting client’s key is trusted, enabling key-based authentication without repeatedly entering the account password.

Submit
×
Saved
Thank you for your feedback!
View My Results
Joshua Gelman |CompTIA Certified |
CompTIA Expert
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the default filename for the Ed25519 private key created by...
Which command generates a new Ed25519 SSH key pair?
True or False: Ed25519 private keys are smaller than RSA 2048-bit...
True or False: Ed25519 keys are faster to generate and verify compared...
What is the primary cryptographic basis of Ed25519?
Which command displays the fingerprint of an SSH public key for...
True or False: Ed25519 is considered more resistant to side-channel...
True or False: RSA keys are vulnerable to quantum computing attacks in...
Which file format is used to store public SSH keys in the...
True or False: RSA and Ed25519 keys can be used interchangeably in SSH...
What is the recommended passphrase length for protecting SSH private...
Which SSH key type is backward compatible with older SSH...
RSA key generation relies on the difficulty of factoring large ____...
Ed25519 keys are typically ____ bits in length.
What is the standard key size for RSA keys recommended for modern SSH...
Ed25519 uses the ____ elliptic curve for its operations.
Which SSH key algorithm was released in 2011 and is considered more...
The ssh-keygen utility stores private keys in ____ directory by...
RSA signatures are generated using the ____ algorithm.
The ssh-copy-id command appends a public key to the ____ file on the...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!