Technical Tip: Applying Hotfix to EMS VM Appliance
Description
This article explains how to apply hotfix to EMS v7.4.4+ deployed using the VM appliance.
Scope
FortiClient EMS v7.4.4+.
Solution:
- In this example, an OpenSSH Server is used on Windows. To install OpenSSH on Windows, navigate to Settings -> System -> Optional Features -> View Features -> See available features -> OpenSSH Server -> Add in the FortiClient EMS GUI.

- The service sshd is added after installing OpenSSH Server; make sure it is running. Refer to the screenshots below. The root directory will be C:\users\<username>.

- In this example user: sfuser is logged in while the OpenSSH is running. So, root directory will be C:\users\sfuser\
- Another folder can be created inside this directory, such as C:\users\sfuser\ems_hotfix\ in this example.

- Hotfixing the application is a two-step process, as described below:
- Copy the hotfix .zip file to EMS VM.
execute scp --read --local.file ems_hotfix26.zip --remote.file /Users/sfuser/ems_hotfix/ems_hotfix_26.zip --remote.ip 10.20.20.101 --remote.user sfuser --remote.password @@@@@@@@@
For an explanation of parameters, see emscli execute scp.
Expected output when EMS Hotfix .zip copy to EMS VM is successful:

- Applying the hotfix:
execute hotfix --apply ems_hotfix26.zip
For an explanation of the command parameters, see execute hotfix.
Expected output of hotfix apply command:

- To view all hotfixes that have been applied or attempted before (failed or reverted):
execute hotfix --list
Expected output of hotfix list command:

