200-301 · Question #697
How to verify SSH connections was secured?
The correct answer is B. ssh -v 2 -l admin IP. To verify that an SSH connection is using a secure protocol version, explicitly specify SSH Protocol Version 2.
Question
How to verify SSH connections was secured?
Options
- Assh -v 1 -l admin IP
- Bssh -v 2 -l admin IP
- Cssh -l admin IP
How the community answered
(24 responses)- A4% (1)
- B92% (22)
- C4% (1)
Why each option
To verify that an SSH connection is using a secure protocol version, explicitly specify SSH Protocol Version 2.
The `ssh -v 1` command explicitly forces the use of SSH Protocol Version 1, which is considered insecure due to known vulnerabilities.
The `ssh -v 2` command explicitly forces the SSH client to use SSH Protocol Version 2, which is the current, secure version of the protocol. SSHv1 has known security vulnerabilities and should be avoided for secure communication, making the explicit selection of SSHv2 crucial for verification. The `-l admin IP` part specifies the username and target host for the connection.
The `ssh -l admin IP` command attempts to connect using the default SSH protocol version, which might be version 1 if not configured otherwise, and does not explicitly ensure a secure version is used.
Concept tested: SSH version selection for secure connections
Source: https://www.ssh.com/ssh/protocol/
Topics
Community Discussion
No community discussion yet for this question.