Difference between revisions of "Openssh windows"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
``` | ``` | ||
− | Add-WindowsCapability -Online -Name OpenSSH. | + | Add-WindowsCapability -Online -Name OpenSSH.Serve\~\~\~\~0.0.1.0 |
− | + | Add-WindowsCapability -Online -Name OpenSSH.Client\~\~\~\~0.0.1.0 | |
− | Add-WindowsCapability -Online -Name OpenSSH.Client | + | ``` |
− | + | ``` | |
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force | New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force | ||
``` | ``` |
Revision as of 03:55, 12 November 2023
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_server_configuration
Add-WindowsCapability -Online -Name OpenSSH.Serve\~\~\~\~0.0.1.0 Add-WindowsCapability -Online -Name OpenSSH.Client\~\~\~\~0.0.1.0
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force
Add-WindowsCapability -Online -Name OpenSSH.ServerBusk (talk)
03:54, 12 November 2023 (UTC)0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.ClientBusk (talk)
03:54, 12 November 2023 (UTC)0.0.1.0