SSH From Linux Into Your Microsoft Windows Hosts
#Windows #Linux #SSH #Shell
Full steps can be found at https://i12bretro.github.io/tutorials/0562.html
01. Log into the Windows host
02. Run the following commands in a powershell window
# check the current status of ssh server
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
# install the ssh server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# start the sshd service and set for automatic startup
Set-Service -Name sshd -Status Running -StartupType Automatic
# check the sshd service status
Get-Service sshd
03. With SSH now running, let's test connecting to it
04. From another device (Linux or Windows), ssh into the Windows host
05. After authenticating you should SSH into a remote PowerShell terminal
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro