Difference between revisions of "Activate OpenSSH on Windows"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
** Install OpenSSH optional capability from Windows interface. | ** Install OpenSSH optional capability from Windows interface. | ||
− | ::: <code>Add-WindowsCapability -Online -Name OpenSSH.Server[[User:Welcome|Welcome]] | + | ::: <code>Add-WindowsCapability -Online -Name OpenSSH.Server[[User:Welcome|Welcome]] (Using (*) seems not to be working: <code>[[Add-WindowsCapability]] -Online -Name OpenSSH.Server*</code>) |
::: <code>[[Start-Service]] sshd</code> | ::: <code>[[Start-Service]] sshd</code> | ||
:::<code>[[Set-Service]] -Name sshd -StartupType 'Automatic'</code> | :::<code>[[Set-Service]] -Name sshd -StartupType 'Automatic'</code> |
Revision as of 09:39, 14 April 2020
- Activate OpenSSH on Windows (Windows Server 2019 or Windows 1o):https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
- Install OpenSSH optional capability from Windows interface.
Add-WindowsCapability -Online -Name OpenSSH.ServerWelcome (Using (*) seems not to be working:
Add-WindowsCapability -Online -Name OpenSSH.Server*
)Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Activities
- Manually install OpenSSH for Windows 2016 (not officially supported by Microsoft) https://hostadvice.com/how-to/how-to-install-an-openssh-server-client-on-a-windows-2016-server/
Related commands
Get-WindowsCapability: Get-WindowsCapability -Online -name OpenSSH*
See also
- OpenSSH (changelog):
/etc/ssh/sshd_config
| /etc/ssh/ssh_config
| ~/.ssh/
| openSSL | sshd logs
| sftp
| scp
| authorized_keys
| ssh-keygen
| ssh-keyscan
| ssh-add
| ssh-agent
| ssh
| Ssh -O stop
| ssh-copy-id
| CheckHostIP
| UseKeychain
, OpenSSF
- Microsoft Windows: Windows 10, Windows 11, Windows Server, Windows IoT, Windows Server containers, RDP, Windows Update, Windows Defender, Windows Unified Write Filter (UWF), ReFS,
Start-Service, Stop-Service, Set-Service
, DISM, SFC, systeminfo, Microsoft Hyper-V, WSL, Windows Terminal, Windows Subsystem for Linux (WLS), Windows Server 2022, PowerShell, logoff
, query user
, WLMS, File explorer, Copy-Item, BitLocker, Cmdlet, choco, scoop
, Windows VSS
Advertising: