
vmware VCSA SSH links
We just upgraded to VCSA 6.5u1 yesterday from Vcenter 5.5. The process went flawlessly.
I did need to ssh and winscp into the VCSA to reset the update manager DB. Here are the information I used to enable SSH and then change the shell so winscp works.
Run the below commands to enable SSH. ssh.get shows the current status. ssh.set allows you to change the state of SSH. Use ‘false’ instead of true to disable SSH.
Command> ssh.get
Enabled: False
Command> ssh.set –enabled true
Command> ssh.get
Enabled: True
Command>The above methods takes effect immediately, no need to reboot. When disabling SSH, current sessions stay active and don’t end. So if someone has an open SSH session they won’t be kicked out until they logoff or their session times out.
To be able to connect with WinSCP, the default shell has to be configured to /bin/bash:
# chsh -s "/bin/bash" rootIf you want to revert this change later and reactivate the Appliance Shell, change the default shell back to /bin/appliancesh:
# chsh -s /bin/appliancesh root
More Stories
Using Automation to Create Optimized Windows Images for VMware Horizon VMs
https://twitter.com/jesperalberts/status/1410859089001914368?s=21 Automate your horizon view desktop build
VMware horizon view with shared GPU
One of my projects this year is to research and test using hardware GPU in our horizon view environment. Vmware...
Using vmware horizon view with Microsoft Azure MFA
We are looking to move from Duo to Azure MFA to standardize our security and reduce cost. I found the...
Working with vmware tools and hardware levels
Looking at standards for our virtual environment and setting the baseline for vmware tools and hardware level, and os level...
Migrate to vSphere 6.0 Update 2m
Vmware recently released vSphere 6.0 Update 2m , which is the supported way to migrate from a windows based vSphere 5.5 to the...
vSphere HTML5 web client
Its the start of something wonderful. This weekend the fling for vSphere HTML5 web client was release. Its in its...