Differences
This shows you the differences between the selected revisions of the page.
2017-01-08 | 2017-01-13 | ||
no summary (88.123.213.92) (hidden) (untrusted) | Added Powershell Instructions for Service Startup and Setup. (173.190.220.50) | ||
Line 17: | Line 17: | ||
* In ''C:\openssh\sshd_config'' locate a ''Subsystem sftp'' directive and change the path to ''sftp-server'' to its Windows location: \\ ''Subsystem sftp C:\openssh\sftp-server.exe'' | * In ''C:\openssh\sshd_config'' locate a ''Subsystem sftp'' directive and change the path to ''sftp-server'' to its Windows location: \\ ''Subsystem sftp C:\openssh\sftp-server.exe'' | ||
* Start the service and/or configure automatic start: | * Start the service and/or configure automatic start: | ||
- | * Go to //Control Panel > System and Security > Administrative Tools// and open //Services//. Locate //SSHD// service. &wincp | + | * In Powershell type the following command(s):\\ ''Start-Service sshd''\\ ''Start-Service ssh-agent''\\ |
- | * If you want the server to start automatically when your machine is started: Go to //Action > Properties//. In the Properties dialog, change //Startup type// to //Automatic// and confirm. | + | * If you want the server to start automatically when the Server boots up type the following command(s):\\ ''Set-Service sshd -StartupType Automatic'' \\ ''Set-Service ssh-agent -StartupType Automatic''\\ |
- | ···* Start the SSHD service by clicking the //Start the service//. | + | |
//These instructions are partially based on [[https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH|the official deployment instructions]].// | //These instructions are partially based on [[https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH|the official deployment instructions]].// |