View Single Post
  #3  
Old 12-25-2016, 11:54 PM
ziya.pathan ziya.pathan is offline
Junior Member
 
Join Date: Dec 2016
Posts: 9
Default

Steps
1.Download the latest OpenSSH for Windows binaries (package OpenSSH-Win32.zip)
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 -ExecutionPolicy Bypass -File install-sshd.ps1
Generate server keys by running the following commands from the C:\openssh:

.\ssh-keygen.exe -A

2.Open a port for the SSH server in Windows Firewall:

Either run the following PowerShell command (Windows 8 and 2012 or newer only), as the Administrator:
New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH
or go to Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules and add a new rule for port 22.
Reply With Quote