mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-21 13:04:57 +02:00
modify system path update instructions
parent
682d79dfec
commit
d1c2deafa3
@ -31,7 +31,7 @@ The commands to run, are as follows:
|
|||||||
|
|
||||||
## 2. Update SYSTEM PATH (Required for SCP and SFTP)
|
## 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 the following command:
|
||||||
`[Environment]::SetEnvironmentVariable("Path", $env:Path + ';' + ${Env:ProgramFiles} + '\OpenSSH', [System.EnvironmentVariableTarget]::Machine)`
|
`[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path",[System.EnvironmentVariableTarget]::Machine) + ';' + ${Env:ProgramFiles} + '\OpenSSH', [System.EnvironmentVariableTarget]::Machine)`
|
||||||
|
|
||||||
To verify that the System Path variable was modified properly, the Environment Variables can be viewed in Control Panel, under the Advanced tab.
|
To verify that the System Path variable was modified properly, the Environment Variables can be viewed in Control Panel, under the Advanced tab.
|
||||||
## 3. Verify OpenSSH Install
|
## 3. Verify OpenSSH Install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user