SCP (secure copy) to a VMware vCenter Server Appliance (VCSA)
I recently found a very helpful guideline from Mark Ukotic in his blog.
For some this may be a rare situation but from time to time I find that I’m needing to copy files to and from a vCenter Server Appliance (VCSA). I had one of these situations recently on vCenter 6. I needed to move some log files off a VCSA box.
I’ve found the easiest way to do this is via SCP — Secure Copy, which uses the SSH protocol. It’s a relatively simple process to enable the VCSA to accept SCP connections. It’s a two step process which first requires enabling SSH on the VCSA and then switching the default Shell.
Minimal Step-by-Step Guide
- Enable SSH on the appliance, if you changed the default.
- Login via SSH: ssh [email protected]
- Type your root password (often the same PW as your vCenter admin)
- shell.set –enabled True
- chsh -s /bin/bash root
- chsh -s /bin/appliancesh root
Please visit Mark´s blog to view the complete article! You can find an abstract below.
Read the entire article here, SCP (secure copy) to a vCenter Server Appliance (VCSA)
via the fine folks at opvizor.