Saturday, July 17, 2021

Windows 10 SSH Server (Dead To Me)

First PC was flawless but as usual this can be a pain . . . second machine did not accept password. Can't find a fix but . . . 
Good new is on Windows there are so many easy file sharing options you do not need a local Windows SSH Server.

Add the feature then start the service and set a firewall rule.

win+i > apps > apps&features > optional features > openssh server

Open Powershell command as Administrator
Type the following command to start the Service of the OpenSSH Server
Start-service sshd

I would leave as default service manual start but you can . . .
Type the following command to add Automatic Startup in Service
Set-Service -Name sshd -StartupType 'Automatic'

Type the following command to find the Rule for OpenSSH Server in Windows Firewall and verify that is Allow

Get-NetFirewallRule -Name *ssh*

I think this happens when ssh server is installed.
win > firewall & network protection > advanced settings

inbound rules > new rule > 
name = OpenSSH SSH Server (sshd)
description = Inbound rule for OpenSSH SSH Server (sshd)
Enabled
Allow the connection
Properties further allows settings restrictions but on a local network for simple files transfers and manual server on/off probably not needed

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Pin Not Available

Crazy Error I had not seen before. Pin not available blah blah. I restarted a few times and it finally worked. If it doesn't some say to...