Old Revisions
These are the older revisons of the current document. To revert to an old revision, select it from below, click Edit this page and save it.
2022-10-24 –
@FeRDNYC Thanks for your edit. Though I'm partially reverting it. Even on Windows 11, searching "System and Security" still opens Control Panel. So I believe that's still the primary path to that applet (and mainly, it's the path that works on any version of Windows)
(martin)
–
Diff vs. current •
Diff vs. previous
2022-10-23 –
Update firewall/service configuration instructions for Win10/Win11.
(FeRDNYC)
–
Diff vs. current •
Diff vs. previous
2022-01-10 –
added win11 section - by the way you guys are awesome for having an editable page.
(71.63.158.142)
–
Diff vs. current •
Diff vs. previous
2022-01-10 –
fixed bad path in example
(71.63.158.142)
–
Diff vs. current •
Diff vs. previous
2021-04-21 –
seems as misunderstanding, thanks otherwise
(martin)
–
Diff vs. current •
Diff vs. previous
2020-08-21 –
empty line between headers improves formatting
(martin)
–
Diff vs. current •
Diff vs. previous
2020-06-24 –
Taking into account that on Windows 10 1809 and higher, the firewall rule is created and enabled by default when openSSH is installed via Optional Features. Taking into account that the firewall rule binds to sshd.exe in its appropriate installation directory as opposed to blanked allowing any program to bind on TCP port 22.
(212.186.228.178)
–
Diff vs. current •
Diff vs. previous
2020-03-31 –
explicit configuring_ssh_server anchor, used in sf_q1008568
(martin)
–
Diff vs. current •
Diff vs. previous
2019-11-25 –
old revision restored - do you have any source for your claim?
(martin)
–
Diff vs. current •
Diff vs. previous
2019-11-24 –
note added
(58.96.87.208)
–
Diff vs. current •
Diff vs. previous
2019-09-09 –
powershell example for listing host keys
(martin)
–
Diff vs. current •
Diff vs. previous
2019-08-22 –
old revision restored - "Alternatively" to what? The section does not indicate any specific way to create the folder. + Why "Administrative"? Quite on the contrary, one should use a regular command prompt to ensure the correct ownership
(martin)
–
Diff vs. current •
Diff vs. previous
2019-06-04 –
5.12 Bug 1589 – Use SHA-256 host key fingerprints
(martin)
–
Diff vs. current •
Diff vs. previous
2018-11-28 –
old revision restored - Instructions for starting the service are in "Configuring SSH server" section already
(martin)
–
Diff vs. current •
Diff vs. previous
2018-11-27 –
Added missed step of enabling the SSHD service. The following step does not work unless the service is first enabled.
(73.205.32.65)
–
Diff vs. current •
Diff vs. previous
2018-06-13 –
Windows 10 version 1803 has openssh built in (as optional feature) + new service name + matching firewall rule name
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-20 –
yet one more instance of uppercase sshd
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-20 –
need to be admin to extract to program files
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-15 –
it's not necessary to grant permissions to authorized_keys file to Service\sshd anymore
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-15 –
keys are now generated automatically as of v1.0.0.0-Beta
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-15 –
official guide reverted to rule for port 22
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-13 –
old revision restored - if there is a reason user should be getting the error(s) described, please discuss on WinSCP support forum
(martin)
–
Diff vs. current •
Diff vs. previous
2018-02-12 –
allowing command to work when executed from powershell shell + removing nonsense comment about using a host key as an authentication private key.
(martin)
–
Diff vs. current •
Diff vs. previous
2018-01-18 –
old revision restored - thanks for your comment, but it works for me with double-quote and it's even the officially recommended syntax - if it does not work for you, please post details on forum, so that we can discuss it
(martin)
–
Diff vs. current •
Diff vs. previous
2018-01-18 –
Using " around the Command parameter result in powershell error
(146.247.40.253)
–
Diff vs. current •
Diff vs. previous
2018-01-12 –
only win10 has "defender", all others including srv 2016 do not
(martin)
–
Diff vs. current •
Diff vs. previous
2018-01-12 –
updating wording for new firewall rules
(martin)
–
Diff vs. current •
Diff vs. previous
2018-01-12 –
updating syntax of FixHostFilePermissions execution command to make -confirm switch work again
(martin)
–
Diff vs. current •
Diff vs. previous
2018-01-12 –
create process-specific rather than port-specific firewall rules
(martin)
–
Diff vs. current •
Diff vs. previous
2018-01-09 –
footnote cannot be within another style
(martin)
–
Diff vs. current •
Diff vs. previous
2017-12-11 –
it's "Windows Defender Firewall" in Windows 10
(martin)
–
Diff vs. current •
Diff vs. previous
2017-12-09 –
Helping users who encounter an error when creating dot-folders in Windows
(173.240.38.142)
–
Diff vs. current •
Diff vs. previous
2017-12-03 –
removed "-Confirm:$false" flag which no longer works, accidentally the word directory
(71.85.60.168)
–
Diff vs. current •
Diff vs. previous
2017-05-12 –
old revision restored - thanks for your feedback, though when providing alternative commands, we would like to know why and when it's needed - can we discuss this first on the support forum?
(martin)
–
Diff vs. current •
Diff vs. previous
2017-05-12 –
Add fix for icacls command
(85.228.28.96)
–
Diff vs. current •
Diff vs. previous
2017-04-19 –
changes to public key authentication setup
(martin)
–
Diff vs. current •
Diff vs. previous
2017-03-19 –
old revision restored - it's mentioned already that it's a powershell command
(martin)
–
Diff vs. current •
Diff vs. previous
2017-03-02 –
consistent single-line code example format
(martin)
–
Diff vs. current •
Diff vs. previous
2017-03-02 –
win32 openssh and winscp will now agree on ED25519 key
(martin)
–
Diff vs. current •
Diff vs. previous
2017-03-02 –
updating the new path everywhere + no need to edit sshd_config anymore
(martin)
–
Diff vs. current •
Diff vs. previous
2017-03-02 –
If extracted to a convenient location , public key auth doesn't work
(111.92.26.212)
–
Diff vs. current •
Diff vs. previous
2017-01-13 –
we are showing GUI version of the procedure by purpose
(martin)
–
Diff vs. current •
Diff vs. previous
2017-01-13 –
Added Powershell Instructions for Service Startup and Setup.
(173.190.220.50)
–
Diff vs. current •
Diff vs. previous
2016-10-30 –
To clarify how windows account name may be entered.
(146.198.117.42)
–
Diff vs. current •
Diff vs. previous
2016-10-06 –
explicit bypass execution policy (copied from official guide)
(martin)
–
Diff vs. current •
Diff vs. previous
2016-09-19 –
put ".\" before "ssh-keygen.exe -A"
(80.228.26.190)
–
Diff vs. current •
Diff vs. previous
2015-12-26 –
the batch file is correct, the %~dp0 is replaced with a path to the batch file. unless you have command extensions disabled
(martin)
–
Diff vs. current •
Diff vs. previous
2015-12-25 –
correct path for ssh-lsa.dll x86 or x64 folder
(187.38.122.2)
–
Diff vs. current •
Diff vs. previous
2015-11-12 –
11_09_2015 release supports running as a service
(martin)
–
Diff vs. current •
Diff vs. previous
2015-11-12 –
restarting needed only after setup-ssh-lsa
(martin)
–
Diff vs. current •
Diff vs. previous