...
- Select the ESXi host
- Select the Configuration tab
- Select Security Profile under Software
- Click Properties
- Select Remote Tech Support (SSH)
- Click Options
- Select Start automatically
- Click Start
- Click OK
ESX
...
5.
...
0
In the case of ESX 4.1, SSH is enabled as the default. Using the vSphere Client, you can confirm it5.0:
- Select the ESXi host
- Select the Configuration tab
- Select Security Profile under Software
- Click Properties
- Select SSH Server
- Click Options
- Confirm that Start automatically is selected
- Click OK
...
- Create an SSH key pair on the management node (or use a key you previously created):
Tip |
---|
ssh-keygen -t rsa -f /etc/vcl/vcl.key -N '' -b 1024 -C 'VCL root account' |
- Log into the ESX host via SSH (password authentication should work) and create the directory:
Tip |
---|
ssh <ESXi host> 'mkdir /.ssh' |
- Copy the public key to the ESXi host:
ESXi 4.x: Tip |
---|
scp /etc/vcl/vcl.key.pub <ESXi host>:/.ssh/authorized_keys |
ESXi 5.x: Tip |
---|
scp /etc/vcl/vcl.key.pub <ESXi host>:/etc/ssh/keys-root/authorized_keys |
- Test making an SSH connection using the key:
Tip |
---|
ssh -i /etc/vcl/vcl.key <ESXi host> |
...