TestOut Linux Pro 15.9.4

Ace your homework & exams now with Quizwiz!

When authenticating with a public key, the client specifies which public key the server uses for authentication, and then the server checks to ensure the key has previously been authenticated. What happens next in the authentication process?

If the key is known to the server, it encrypts a random number with the public key and sends the encrypted number to the client.

Which of the following BEST describes a self-signed certificate?

It lets you encrypt communication between your server and a client but is not signed by any trusted certificate authorities.

What is the name of the hash function used to verify the public key for an SSH connection?

MD5

A digital signature uses an asymmetric key pair to allow a sender's identity to be verified by a recipient. What does the sender use to create a digital signature that is then decrypted by the recipient?

Private key

You want to enable public key authentication on the server. What option in the /etc/ssh/sshd_config file needs to be set?

PubkeyAuthentication yes

To create or manage OpenSSL certificates, you use the openssl command, along with one or more options. From the list on the left, drag the openssl command option to its correct definition on the right.

Specifies the directory and filename for the private key being created. - keyout Specifies that the new certificate and new key will be created at the same time. - newkey Specifies that the certificate being created will be a self-signed instead of a signed certificate. - x509 Specifies the directory and filename for the self-signed key being created. - out Specifies that openssl should skip the option to secure your certificate with a passphrase. - nodes

Which keys are generated when you execute the ssh-keygen command with no options? (Select two.)

id_rsa id_rsa.pub

As you configure your client for public key authentication, you decide to generate the DSA key pair. You would like to configure the client to automatically provide the private key passphrase when needed so that you do not need to type the passphrase for every new SSH connection to a server. Which command should you use in conjunction with the ssh-agent bash command? (Enter the command and options as if you are at the command prompt.)

ssh-add ~/.ssh/id_dsa

You are configuring public key authentication on your client system. What command enables the passphrase agent?

ssh-agent bash

You are configuring public key authentication on your client system. What command creates a key on the client to use when authenticating to a server?

ssh-keygen


Related study sets

Physiological Health Problems (10)

View Set

Science Study Guide: Atomic Structure

View Set