Optimizing connection time for workstation setup.
Applies to:Medulla
Version: 5.5.1 and later
Environment:On-Premise
Category: PMAD
To reduce connection time when setting up remote 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 machine’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 machine’s firewall)
Once the above 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 setting change is available in version 5.5.1 or later.