Remoting over SSH
PowerShell Core introduced the concept of remoting over SSH. This provides a useful alternative to remoting over HTTPS, avoiding the burden of managing certificates:
The SSH transport for remoting cannot be used from Windows PowerShell, only PowerShell 6 and 7.
Connecting from Windows to Linux
If connecting from Windows, an SSH client must be installed.
In Windows 10 and Windows Server 2019, you can enable OpenSSH as an optional feature. For example:
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
The feature is documented on Microsoft Docs:
https://docs.microsoft.com/windows-server/administration/openssh/openssh_install_firstuse
Alternatively, the openssh
package can be installed using the Chocolatey package manager (http://chocolatey.org):
choco install openssh
Depending on the desired...