Differences

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

2015-10-26 2015-11-12
guide_windows_ftps_server (martin) restarting needed only after setup-ssh-lsa (martin)
Line 16: Line 16:
    * Either run the following PowerShell command (Windows 8 and 2012 or newer only), &win8 &win2012 as an Administrator: \\ ''New-NetFirewallRule -Protocol %%TCP%% -LocalPort 22 -Direction Inbound -Action Allow -DisplayName %%SSH%%''     * Either run the following PowerShell command (Windows 8 and 2012 or newer only), &win8 &win2012 as an Administrator: \\ ''New-NetFirewallRule -Protocol %%TCP%% -LocalPort 22 -Direction Inbound -Action Allow -DisplayName %%SSH%%''
    * or go to //Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules// and add a new rule for port 22. &wincp     * or go to //Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules// and add a new rule for port 22. &wincp
-  * To allow a public key authentication, as an Administrator, run: \\ ''C:\openssh\setup-ssh-lsa.cmd'' +  * To allow a public key authentication, as an Administrator, run: \\ ''C:\openssh\setup-ssh-lsa.cmd'' \\ and restart the machine
-  * Restart the machine +
  * In ''C:\openssh\sshd_config'' locate a ''Subsystem sftp'' directive and change the path to ''sftp-server'' to its Windows location: \\ ''Subsystem sftp C:\openssh\sftp-server.exe''   * In ''C:\openssh\sshd_config'' locate a ''Subsystem sftp'' directive and change the path to ''sftp-server'' to its Windows location: \\ ''Subsystem sftp C:\openssh\sftp-server.exe''
  * [[https://technet.microsoft.com/en-us/sysinternals/bb897553|Download PsTools]] and extract ''PsExec.exe'' to ''C:\openssh''   * [[https://technet.microsoft.com/en-us/sysinternals/bb897553|Download PsTools]] and extract ''PsExec.exe'' to ''C:\openssh''

Last modified: by martin – Currently locked by: 165.231.164.178