Skip to main content

Optimizing connection time for remote control of workstations.

Applies to: Medulla
Version: 5.5.1 and later
Environment: On-Premise
Category: PMAD

To reduce connection time for remote control of workstations:

Check the following: 

  • The ssh executable (C:\Program Files\OpenSSH\ssh.exe) is excluded from real-time scanning by your antivirus and EDR software
  • The medulla executable (C:\Program Files\Python3\medulla.exe) is excluded from real-time scanning by your antivirus and EDR software
  •  Outgoing XMPP traffic from clients (to port 5222 on the server) and its corresponding incoming traffic are excluded from firewall packet inspection (don’t forget the client computer’s firewall)
  • Outgoing SSH traffic from clients (to port 22 or 2002 on the server) and its corresponding incoming traffic are excluded from firewall packet inspection (don’t forget the client computer’s firewall)


Once the previous points have been verified, if the reverse SSH connection takes less than 30 seconds to establish, you can reduce the timeout.

This change is made in the /etc/mmc/mmc.ini.local file.
You’ll need to add a guacamole section and set the reversessh_timeout parameter (in seconds).

Be sure to write the entire configuration in lowercase

Example to set the timeout to 20 seconds:

[guacamole]
reversessh_timeout = 20

You must then restart the mmc-agent service:

systemctl restart mmc-agent

This parameter can be modified starting with version 5.5.1.