So I have OpenSSH installed on my VC and can connect fine as a local user on the server, I have several scripts visable in the home directory. That same local user has been granted full Administrator access to vSphere.
But... How would I kickoff one of the same scripts that work perfectly via PowerShell on the server directly ? Any idea's even a guese ...
It seems that OpenSSH integration is not available yet.
But it will may be present one day.
Are you able to suggest any potential workaround mate? Someone suggested I might be abel to get it working my changing enviromental varibles but I am not 100% exactly what he meant by that
From the blog article i guess that there is no workaround yet.
OpenSSH has been designed to provide access to some Linux client utilities in Windows (via Cygwin)
PowerShell is not a Linux client tool.
Maybe there are others tools available however than openssh, and replace default command shell.
http://hindenes.com/trondsworking/2012/05/17/run-powershell-through-ssh/
You could try the OpenSSH version that already exists, see NoMachine
You probably have to use the "inputformat none" parameter with powershell.
powershell -inputformat none CloneVMsMK28.ps1
Btw, in a recent post, the MSFT team has published their roadmap.for the port of OpenSSH
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference