2

ssh command can used in windows powershell which is system build-in,it like this: ssh in powershell

But when I use is in powershell7 which i download in github,ssh command do not work,it like this: ssh in powershell7

how I can solve it, I do not just want to change directory to C:\Windows\System32\OpenSSH and use .\ssh

environment variables:


❯ $env:Path -split ';'

...
...
...

C:\\Windows\\System32\\OpenSSH

.
Tsieyy
  • 29
  • 1
  • I have new discovery,when I change directory to `C:\Windows\System32\OpenSSH` ,right click and `open in terminal`, the directory on powershell7 is not OpenSSH, it turn into `C:\Program Files (x86)\PowerShell\7` – Tsieyy Mar 01 '23 at 03:11
  • Having the same issue.. it's really weird – Mariano L Mar 21 '23 at 03:41

1 Answers1

-1

Run your PowerShell in admin mode.

jarh1992
  • 603
  • 7
  • 8