Skip to content

Commit 4300b0c

Browse files
oraNodfelixfontein
andauthored
Update docs/docsite/rst/os_guide/windows_ssh.rst
Co-authored-by: Felix Fontein <[email protected]>
1 parent a60946b commit 4300b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docsite/rst/os_guide/windows_ssh.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ SSH key authentication on Windows works in the same way as SSH key authenticatio
128128

129129
One difference is that the ``authorized_keys`` file for admin users is not located in the ``.ssh`` folder in the user's profile directory but in ``C:\ProgramData\ssh\administrators_authorized_keys``. It is possible to change the location of the ``authorized_keys`` file for admin users back to the user profile directory by removing, or commenting, the lines in ``C:\ProgramData\ssh\sshd_config`` and restarting the ``sshd`` service.
130130

131-
.. code-block:: shell
131+
.. code-block:: text
132132
133133
Match Group administrators
134134
AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys

0 commit comments

Comments
 (0)