Commit 9e1ff0e0 authored by Christof Schulze's avatar Christof Schulze 😎
Browse files

install OpenSSH Client and Server

parent 3574b2ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
# install the OpenSSH Client


Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
 No newline at end of file
+15 −0
Original line number Diff line number Diff line
# install the OpenSSH Server
#
# https://docs.microsoft.com/de-de/windows-server/administration/openssh/openssh_server_configuration
#


Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

#  Set the default target shell to Powershell
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force


#  sshd reads configuration data from %programdata%\ssh\sshd_config 
#
#  configure the