Quantcast
Channel: Good mind
Viewing all articles
Browse latest Browse all 511

vCenter shell enable

$
0
0

shell.set --enabled true

This will enable BASH Shell for the defaultof 3600 seconds as can be viewed by running: shell.get

 

If you wish to extend the timeout to themaximum of 86400 seconds / 1 day then use the following cmd:

 

shell.set --enabled true --timeout 86400


shell


 

Having run the enable cmd you may now typethe Shell cmd and hit enter to activate the BASH Shell session, an initialwarning shall be displayed:

 

 

If you wish to make BASH Shell the defaultShell for root then run the command (required for winscp/SCP access):

 

chsh -s /bin/bash root

 

If you wish to revert back to the defaultAppliance Shell then run the following command followed by a logout and loginfor the changes to take affect:

 

chsh -s /bin/appliancesh root



Viewing all articles
Browse latest Browse all 511

Trending Articles