Differences

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

2016-04-28 2016-05-18
no summary (209.244.4.106) also installing ssh-agent service (martin)
Line 7: Line 7:
  * Download the latest [[https://github.com/PowerShell/Win32-OpenSSH/releases/|OpenSSH for Windows binaries]] (package ''OpenSSH-Win32.zip'')   * Download the latest [[https://github.com/PowerShell/Win32-OpenSSH/releases/|OpenSSH for Windows binaries]] (package ''OpenSSH-Win32.zip'')
  * Extract the package to a convenient location (we will use ''C:\openssh'' in this guide)   * Extract the package to a convenient location (we will use ''C:\openssh'' in this guide)
 +  * As the Administrator, install SSHD and ssh-agent services: \\ ''powershell.exe .\install-sshd.ps1''
  * Generate server keys by running the following commands from the ''C:\openssh'': <code>   * Generate server keys by running the following commands from the ''C:\openssh'': <code>
ssh-keygen.exe -A ssh-keygen.exe -A
Line 15: Line 16:
  * To allow a public key authentication, as an Administrator, from ''C:\openssh'', run: \\ ''powershell.exe .\install-sshlsa.ps1'' \\ and restart the machine   * To allow a public key authentication, as an Administrator, from ''C:\openssh'', run: \\ ''powershell.exe .\install-sshlsa.ps1'' \\ 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: \\ ''powershell.exe .\install-sshd.ps1 '' 
  * Start the service and/or configure automatic start:   * Start the service and/or configure automatic start:
    * Go to //Control Panel > System and Security > Administrative Tools// and open //Services//. Locate //SSHD// service. &wincp     * Go to //Control Panel > System and Security > Administrative Tools// and open //Services//. Locate //SSHD// service. &wincp

Last modified: by martin