Configure and Secure SSH Flashcards

1
Q

What is ssh command used for?

A

Allows users to access remote systems securely with the SSH protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where does a client system store the identities of remote servers?

A

In the ~/.ssh/known_hosts and /etc/ssh/ssh_known_hosts files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does SSH support?

A

It supports both password-based and key-based authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does ssh-keygen command do?

A

Generates an SSH key pair for authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the ssh-copy-id command do?

A

Exports the public key to remote systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the sshd service do?

A

Implements the SSH protocol on Red Hat Enterprise Linux systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where do you configure advanced SSH settings?

A

In the /etc/ssh/sshd_config configuration file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What can a sshd_config file be used for?

A

To disable remote logins as root and to require public key authentication rather than password-based authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly