How to Enable SSH on an ESXi host:
Get-VMHost myesxihost.mycompany.com | Get-VMHostService | Where {$_.Key -eq "TSM-SSH"} | Start-VMHostService
Get-VMHost myesxihost.mycompany.com | Get-VMHostService | Where {$_.Key -eq "TSM-SSH"} | Start-VMHostService
How to Disable SSH on an ESXi host:
Get-VMHost myesxihost.mycompany.com | Get-VMHostService | Where {$_.Key -eq "TSM-SSH"} | Stop-VMHostService
Waaaay faster!
No comments:
Post a Comment