The content of which local file has to be transmitted to a remote SSH server in order to be able to log into the remote server using SSH keys?
Suggested Answer: A
Get Premium 202-450 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
30 comments · newest first
SH
Shad
6 months ago
Exactly! Public key is what grants access. Good luck, everyone!
ME
Melynda
6 months ago
A is for the server side, not for sending. C is the right choice!
AS
Ashley
6 months ago
I agree, but I wonder if they might trick us with A) ~/.ssh/authorized_keys.
GE
Gearldine
7 months ago
I feel confident about this question. Public key is essential for SSH.
CH
Cherelle
7 months ago
Yeah, definitely! You need to send the public key to the server.
ME
Merlyn
7 months ago
No way, it's not E) ~./ssh/known_hosts, right?
TI
Tiara
8 months ago
I thought it was D) ~/.ssh/id_rsa at first!
MA
Maryln
8 months ago
Wait, isn't it A) ~/.ssh/authorized_keys?
AL
Alisha
8 months ago
Haha, E) ~./ssh/known_hosts? What is this, a trick question? That file just keeps track of the remote hosts you've connected to, not the keys.
DO
Domingo
8 months ago
D) ~/.ssh/id_rsa? Really? That's the private key, not the one you want to share with the remote server. Come on, people, let's get it together!
TH
Theola
8 months ago
I always get those SSH key files mixed up. Is there a mnemonic device to remember which one is which?
JA
Jackie
8 months ago
C) ~/.ssh/id_rsa.pub is the correct answer. That's the file that contains the public key that needs to be transmitted to the remote server.
LA
Lavera
9 months ago
I thought the private key was needed for logging in, but I guess we need to send the public key first? So, C) seems like the best choice.
AN
Annelle
9 months ago
I practiced a question like this, and I feel like the answer was related to the public key. But I’m confused between C) and D).
VE
Veronique
9 months ago
I'm not entirely sure, but I remember something about authorized keys being important for SSH access. Could it be A) ~/.ssh/authorized_keys?
KI
Kiley
9 months ago
I think it's the public key file, so maybe C) ~/.ssh/id_rsa.pub? That sounds right.
WE
Weldon
9 months ago
Wait, is it the private key or the public key? I'm second-guessing myself now. I better review my SSH key concepts before answering this.
LE
Lemuel
9 months ago
Easy peasy. The public key, id_rsa.pub, is what you send to the remote server. That's the file that needs to be in the authorized_keys file.
KA
Kassandra
10 months ago
Agreed, that's the public key you need to share.
VA
Valentin
10 months ago
Okay, I've got this. The public key file, id_rsa.pub, needs to be added to the authorized_keys file on the remote server. That's how you set up SSH key-based login.
AN
Andrew
10 months ago
I think it's C) ~/.ssh/id_rsa.pub. That's the public key, right?
IN
Ines
10 months ago
It's definitely C) ~/.ssh/id_rsa.pub!
PH
Phung
10 months ago
B) ~/.ssh/config? Nah, that's just for configuring your SSH client, not for authentication. Nice try, though!
ID
Idella
11 months ago
Hmm, I'm a bit confused. Is it the private key or the public key that needs to be transmitted? I'll have to think this through carefully.
GR
Gracia
11 months ago
I think the answer is C. The public key file needs to be transmitted to the remote server for SSH key authentication.
DA
Dahlia
5 months ago
True, but you still need to send C first.
FR
Frederic
5 months ago
A is for the remote server to recognize the key.
JE
Jenise
6 months ago
But what about A? Isn't that important too?
LA
Lang
6 months ago
Yeah, the public key is essential for SSH.
TO
Toi
6 months ago
I agree, it has to be C.