From b4c48f7572ee11b63c8f1118ec6b51d07e4831bc Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Tue, 22 Mar 2022 12:34:18 -0400 Subject: [PATCH] update system path instructions --- Install-Win32-OpenSSH-Using-MSI.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Install-Win32-OpenSSH-Using-MSI.md b/Install-Win32-OpenSSH-Using-MSI.md index 34115ab..862da14 100644 --- a/Install-Win32-OpenSSH-Using-MSI.md +++ b/Install-Win32-OpenSSH-Using-MSI.md @@ -22,7 +22,11 @@ The commands to run, are as follows: `msiexec /i C:\users\public\downloads\openssh.msi REMOVE=Client` ## 2. Update SYSTEM PATH (Required for SCP and SFTP) -Append the Win32-OpenSSH install directory to the system path, by running the following command: +Append the Win32-OpenSSH install directory to the system path, by running one of following commands. +If using the x86 installer on a 64-bit machine: +`setx /M PATH $($Env:PATH + ';' + ${Env:ProgramFiles(x86)} + '\OpenSSH')` + +All other cases: `setx /M PATH $($Env:PATH + ';' + ${Env:ProgramFiles} + '\OpenSSH')` ## 3. Verify OpenSSH Install