There are a lot of automation tools available which are able to deploy and configure an ESX host but if you want to use PowerCLI for the finishing configuration part there was always a manual step involved. I’ve found a way to start a PowerShell script from the service console trough SSH. The only thing you have to do is install WinSSHD on one of your Windows servers, just execute the distributable that you downloaded from the Bitvise website and follow the process. As soon as the installer completes, you will have a working WinSSHD installation on your machine. No changes to the default configuration are necessary; you only need to start it. However, you might want restrict your users' access to those features that they actually need, which will improve security. If you are new to WinSSHD, it’s highly recommended that you first make sure that you can establish a working SSH connection before you change any settings on the server. If you cannot connect to WinSSHD using its default configuration, this is most likely due to a network or firewall problem that you will need to resolve before you are able to connect. In its default configuration, WinSSHD accepts connections on the well-known port number for SSH servers, 22.
I’ve recorded a Jing video (with audio) which demos the CPU-Ready PowerCLI script running on my vCenter server launched from one of my ESX host’s service console.
Monday, 22 March 2010
How to access PowerCLI trough SSH
Comments
Display comments as
(Linear | Threaded)
Eric,
Did you actually connect to the vcenter and launch powercli?
If yes, can you provide the technical details step by step exactly how you did this please?
I tried doing it with Freesshd, OpenSSH and SUA, PowershellServer, and a few others but I always run into issues with the CLI going blank.
Sorry, my Linux skill with SSH are a bit weak which is why I need the details. Not a n00b or anything, but lived on the Windows side of life for quite awhile. - Thanks in Advance!
#1
Robert Rathbun
on
2010-08-22 00:37
(Reply)





This post was mentioned on Twitter by esloof: How to access PowerCLI trough SSH - http://bit.ly/9bFshZ
Tracked: Mar 22, 11:24