Differences

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

2015-12-25 2015-12-26
correct path for ssh-lsa.dll x86 or x64 folder (187.38.122.2) the batch file is correct, the %~dp0 is replaced with a path to the batch file. unless you have command extensions disabled (martin)
Line 16: Line 16:
    * Either run the following PowerShell command (Windows 8 and 2012 or newer only), &win8 &win2012 as the 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 the 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'' \\ and restart the machine
-  * fragment of setup-ssh-lsa.cmd (problem subfolder name (dp0x86) correct is x86 or x64): <code> +
-if %PROCESSOR_ARCHITECTURE%==x86 ( +
-·  set lsadll=%~dp0x86\ssh-lsa.dll +
-+
-if %PROCESSOR_ARCHITECTURE%==AMD64 ( +
-  set lsadll=%~dp0x64\ssh-lsa.dll +
-+
-</code> +
-··* To allow a public key authentication, as an Administrator, run: \\ ''C:\openssh\setup-ssh-lsa.cmd'' \\ please before run setup-ssh-lsa-cmd verify that it is handling your subfolder where you unzip your files, if not please correct path \\ where your openssh x86 (32 bits) or x64 (64 bits) and 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''
  * As the Administrator, install an SSHD service: \\ ''sshd.exe install''   * As the Administrator, install an SSHD service: \\ ''sshd.exe install''

Last modified: by martin