管理者がmyhost上のSSHサーバーのデフォルトポートを2222に変更したため、クライアントが接続できなくなりました。管理者がいくつかのコマンドを実行すると、以下の出力が表示されます。 $ ssh -p 2222 myhost ssh:connect to host myhost on port 2222: No route to host $ ping myhost PING myhost (192.168.0.10) 56(84) bytes of data myhost (192.168.0.10) からの64バイト: icmp_seq=1 時間=0.876 ミリ秒 myhost (192.168.0.10) からの64バイト: icmp_seq=2 時間=0.732 ミリ秒 次のコマンドのうちどれを myhost 上で実行する必要がありますか?
正解:B
The administrator has likely updated the SSH server to listen on a non-standard port (2222), but the firewall rules were not updated to allow connections on this new port. The firewall-cmd command with the --add-port option allows traffic on a specific port through the firewall. The command should be executed on myhost to permit incoming SSH connections on port 2222.