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
preparation:target:windows.html [2018/01/30 01:50]
kurihara
preparation:target:windows.html [2018/01/31 01:07] (current)
kurihara
Line 5: Line 5:
 \\ \\
  
-===== Preparation OpenSSH =====+===== Prepare OpenSSH =====
 ==== Download Win32-OpenSSH ==== ==== Download Win32-OpenSSH ====
 Download OpenSSH-Win64.zip from below sites. Download OpenSSH-Win64.zip from below sites.
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 37: Line 29:
 Set-Service sshd -StartupType Automatic Set-Service sshd -StartupType Automatic
 </code> </code>
-  -Create Key Pairs<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> 
 +  -Create Key Pairs for earch users<code>
 C:\Program Files\OpenSSH> .\ssh-keygen -t rsa C:\Program Files\OpenSSH> .\ssh-keygen -t rsa
 </code> </code>
-  - Create authrized_keys<code>+  - Create authrized_keys for earch users<code>
 cd:\users\user01\.ssh cd:\users\user01\.ssh
 copy id_rsa.pub authorized_keys copy id_rsa.pub authorized_keys


preparation/target/windows.html.1517244652.txt.gz · Last modified: 2018/01/30 01:50 by kurihara