windowssshpowershell-7.3

ssh not recognised in Powershell 7


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

.

Solution

  • I don't know how this problem occurred, but I found a feasible solution. You can download the PowerToys tool, one of which solves this problem. After installing those components according to its requirements, you can use ssh correctly.

    check this img, you can get how to use PowerToys to solve this problem