February 2019
Intermediate to advanced
626 pages
15h 51m
English
If connecting from Windows, an SSH client must be installed. The following command uses the Chocolatey package manager (http://chocolatey.org) to install OpenSSH for Windows:
choco install openssh
Depending on the desired configuration, public key authentication may be enabled in the SSH daemon configuration file. A subsystem must be added to the file.
To enable public key authentication, set PubkeyAuthentication:
PubkeyAuthentication yes
An existing subsystem entry will likely exist toward the end of the file; this new entry can be added beneath the existing entry:
Subsystem powershell /opt/microsoft/powershell/6/pwsh -sshs -NoLogo -NoProfile
The sshd service should be restarted after changing the configuration ...
Read now
Unlock full access