PowerShell - Remote ManagementWhich of the following is required to enable SSH-based remoting on a remote Linux machine for PowerShell 7+?AInstall IIS web server.BEnable WinRM service.CInstall and configure the OpenSSH server.DDisable the firewall completely.Check Answer
Step-by-Step SolutionSolution:Step 1: Identify SSH server requirement on LinuxSSH-based remoting requires an SSH server like OpenSSH to be installed and running on the remote Linux machine.Step 2: Eliminate other optionsWinRM is Windows-specific, IIS is a web server unrelated to SSH, and disabling firewall completely is unsafe and unnecessary.Final Answer:Install and configure the OpenSSH server. -> Option CQuick Check:SSH server installed = A [OK]Quick Trick: OpenSSH server must run on Linux for SSH remoting [OK]Common Mistakes:Confusing WinRM with SSH on LinuxThinking IIS is needed for remotingDisabling firewall instead of configuring it
Master "Remote Management" in PowerShell9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More PowerShell Quizzes Active Directory - Organizational unit operations - Quiz 3easy Automation Patterns - Scheduled scripts with Task Scheduler - Quiz 15hard Automation Patterns - Configuration drift detection - Quiz 4medium Cross-Platform PowerShell - PowerShell on Linux - Quiz 11easy Cross-Platform PowerShell - REST API calls with Invoke-RestMethod - Quiz 5medium Remote Management - Invoke-Command - Quiz 3easy Remote Management - PSSession management - Quiz 15hard Remote Management - Why remote execution scales management - Quiz 10hard Remote Management - PowerShell Remoting (Enable-PSRemoting) - Quiz 15hard System Administration - Windows features management - Quiz 11easy