To connect to a remote host on a specific TCP port using OpenSSH, you need to specify the correct option to change the default port (which is 22). From the given options, the correct ones are:
B. ssh -p 2222 example.com: This is the standard way to specify a different port for the SSH connection. The -p option is used to specify the port number.
C. ssh -o Port=2222 example.com: This uses the -o option to specify SSH options in a key=value format. Port=2222 sets the port number for the connection.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
EliteAllen
6 months, 1 week ago