So I am just trying to convert to powershell from bash. I was trying to find a way to SSH my server, and found out I could install win32-openssh to do so.
I installed it by:
Installing chocolatey as packageprovider using:
install-packageprovider chocolatey
Then i installed win32-openssh with the command:
install-package win32-openssh
My problem is now, how do I run this program?
It installs the correct binaries etc. It will not add some PS cmdlets for the use off ssh inside PS.
It is all described on the package site:
This package performs the following operations that you normally have to hack at until you get what you want:
- Install Appropriate Bitness for the version of Windows
- Install to Program Files (malware protection and following advice of dev team)
- Add SSH location to System PATH
- Optionally install sshd windows service (Requires parameter - see below)
- Optionally install sshd server "key based authentication" (Requires parameter - see below)
- Cleanly uninstall all of the above (removing config files and server keys requires special switch - see below)
So you can run it from start menu, or by typing ssh.exe
into a prompt.