FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
preparation:target:windows.html [2018/01/30 09:52] kurihara [Install Win32 OpenSSH] |
preparation:target:windows.html [2018/01/31 01:07] (current) kurihara |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| \\ | \\ | ||
| - | ===== Preparation | + | ===== Prepare |
| ==== 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 | ||
| - | </ | ||
| - | - Edit sshd_config< | ||
| - | C:\Program Files\OpenSSH> | ||
| - | C:\Program Files\OpenSSH> | ||
| - | </ | ||
| - | ... | ||
| - | PubkeyAuthentication yes | ||
| - | ... | ||
| </ | </ | ||
| -Create Host Key< | -Create Host Key< | ||
| Line 36: | Line 28: | ||
| -Setup sshd and ssh-agent to auto-start< | -Setup sshd and ssh-agent to auto-start< | ||
| Set-Service sshd -StartupType Automatic | Set-Service sshd -StartupType Automatic | ||
| + | </ | ||
| + | |||
| + | This is password authentication. | ||
| + | |||
| + | |||
| + | \\ | ||
| + | ==== For Key Piars ==== | ||
| + | - Edit sshd_config< | ||
| + | C:\Program Files\OpenSSH> | ||
| + | C:\Program Files\OpenSSH> | ||
| + | </ | ||
| + | ... | ||
| + | PubkeyAuthentication yes | ||
| + | ... | ||
| </ | </ | ||
| -Create Key Pairs for earch users< | -Create Key Pairs for earch users< | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.