FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


preparation:target:windows.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
preparation:target:windows.html [2018/01/30 09:52]
kurihara [Install Win32 OpenSSH]
preparation:target:windows.html [2018/01/31 01:04]
kurihara
Line 19: Line 19:
 cd C:\Program Files\OpenSSH cd C:\Program Files\OpenSSH
 powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1 powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1
-</code> 
-  - Edit sshd_config<code> 
-C:\Program Files\OpenSSH> copy sshd_config_default sshd_config 
-C:\Program Files\OpenSSH> notepad sshd_config 
-</code><code> 
-... 
-PubkeyAuthentication yes 
-... 
 </code> </code>
   -Create Host Key<code>   -Create Host Key<code>
Line 36: Line 28:
   -Setup sshd and ssh-agent to auto-start<code>   -Setup sshd and ssh-agent to auto-start<code>
 Set-Service sshd -StartupType Automatic Set-Service sshd -StartupType Automatic
 +</code>
 +
 +This is password authentication.
 +
 +
 +\\
 +==== For Key Piars ====
 +  - Edit sshd_config<code>
 +C:\Program Files\OpenSSH> copy sshd_config_default sshd_config
 +C:\Program Files\OpenSSH> notepad sshd_config
 +</code><code>
 +...
 +PubkeyAuthentication yes
 +...
 </code> </code>
   -Create Key Pairs for earch users<code>   -Create Key Pairs for earch users<code>


preparation/target/windows.html.txt · Last modified: 2018/01/31 01:07 by kurihara