Differences

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

2015-12-26 2016-01-07
the batch file is correct, the %~dp0 is replaced with a path to the batch file. unless you have command extensions disabled (martin) using ssh-keygen.exe -A (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)
-  * Generate server keys by running the following commands from the ''C:\openssh'' (when asked for a passphrase, just press ''Enter'', as the server keys cannot be protected with a passphrase): <code> +  * Generate server keys by running the following commands from the ''C:\openssh'': <code> 
-ssh-keygen.exe -t rsa -f ssh_host_rsa_key +ssh-keygen.exe -A
-ssh-keygen.exe -t dsa -f ssh_host_dsa_key +
-ssh-keygen.exe -t ecdsa -f ssh_host_ecdsa_key +
-ssh-keygen.exe -t ed25519 -f ssh_host_ed25519_key+
</code> </code>
  * Open a port for the %%SSH%% server in Windows Firewall:   * Open a port for the %%SSH%% server in Windows Firewall:

Last modified: by martin – Currently locked by: 196.240.143.233