IBM
000-221 · Question #165
000-221 Question #165: Real Exam Question with Answer & Explanation
The correct answer is A. Establishing credentials for a secure connection between systems.. The ssh-keygen -t dsa command generates a DSA public/private key pair used to establish passwordless, cryptographically authenticated SSH connections between systems.
Question
What is the purpose of using the ssh-keygen -t dsa command?
Options
- AEstablishing credentials for a secure connection between systems.
- BProvide performance monitoring agents to monitor encrypted file systems.
- CAllow a user to switch to the root user without knowing the root password.
- DSecurely transfer files between AIX instances without a password prompt using ftp
Explanation
The ssh-keygen -t dsa command generates a DSA public/private key pair used to establish passwordless, cryptographically authenticated SSH connections between systems.
Common mistakes.
- B. ssh-keygen is an authentication key generation tool and has no function related to performance monitoring agents or encrypted file system access.
- C. Switching to the root user is accomplished via su or sudo; ssh-keygen generates authentication keys and does not grant privilege escalation.
- D. Secure file transfer uses sftp or scp, not ftp; while key-based auth enables passwordless transfers, ssh-keygen itself generates the key pair rather than configuring any file transfer protocol.
Concept tested. SSH key pair generation for passwordless authentication
Reference. https://www.ibm.com/docs/en/aix/7.3?topic=s-ssh-keygen-command
Community Discussion
No community discussion yet for this question.