Differences

This shows you the differences between the selected revisions of the page.

2018-02-15 2018-02-15
Restored revision 1518689012. Undoing revision 1518689111. (martin) (hidden) it's not necessary to grant permissions to authorized_keys file to Service\sshd anymore (martin)
Line 20: Line 20:
===== [[key_authentication]] Setting up SSH public key authentication ===== ===== [[key_authentication]] Setting up SSH public key authentication =====
-Follow a generic guide for [[guide_public_key|Setting up SSH public key authentication]] in *nix OpenSSH server, with following differences:+Follow a generic guide for [[guide_public_key|Setting up SSH public key authentication]] in *nix OpenSSH server, with following difference:
  * Create the ''.ssh'' folder (for the ''authorized_keys'' file) in your Windows account profile folder (typically in ''C:\Users\username\.ssh'').((Windows Explorer does not allow you to create a folder starting with a dot directly. As a workaround, use ''.ssh.'', the trailing dot will allow you to bypass the restriction, but will not be included in the name.))&winpath   * Create the ''.ssh'' folder (for the ''authorized_keys'' file) in your Windows account profile folder (typically in ''C:\Users\username\.ssh'').((Windows Explorer does not allow you to create a folder starting with a dot directly. As a workaround, use ''.ssh.'', the trailing dot will allow you to bypass the restriction, but will not be included in the name.))&winpath
-  * Grant the %%SSH%% server read permissions to the ''.ssh'' folder. As the Administrator, run: \\ ''%%icacls C:\users\username\.ssh /grant "NT Service\sshd:R" /T%%'' 
===== [[connecting]] Connecting to the server ===== ===== [[connecting]] Connecting to the server =====

Last modified: by martin