VMware Synchronizer: Differentiate Between RDP and SSH Connections

VMware Synchronizer: Differentiate Between RDP and SSH Connections

1 vote

avatar

I have been testing the VMware synchronizer over the last few days, and overall it works as designed. However, during testing I noticed a limitation that makes daily usage a bit inconvenient, especially in mixed Windows/Linux environments.
As I understand it, there are currently two main ways to synchronize entries:

  1. VMRC
    • The disadvantage here is that credentials cannot be stored in the entry.
    • This means credentials have to be entered manually every time a connection is opened.
  2. Connection type: RDP
    • In this case, all synchronized virtual machines are created as RDP entries.
    • This also applies to Linux VMs, which ideally should use SSH instead of RDP.

In environments with both Windows and Linux virtual machines, this results in additional manual work to adjust the connection type after synchronization.

Feature Request:
Would it be possible to enhance the VMware synchronizer so that it automatically differentiates between operating systems and creates:

  • RDP connections for Windows VMs
  • SSH connections for Linux VMs

This would allow credentials to be stored properly and would significantly improve usability and automation for mixed OS environments.
Thank you for considering this feature.

All Comments (3)

avatar

Hello,
As this sounds interesting, do you know how we could distinguish which OS it is in our code? I need a little bit of help to find a way to implement it.

Regards

David Hervieux

avatar

Hello David,
thank you for answer. This is my Powershell script to get the VMs divided by RDP/SSH. Does this help

# Get all VMs
$vms = Get-VM

foreach ($vm in $vms) {
$folderPath = Get-FolderPath -obj $vm

# Determine if VM uses RDP or SSH based on OS
$osType = $vm.Guest.OsFullName
if ($osType -like "*Windows*") {
# Windows VM - use RDP
$connectionType = "RDP (Microsoft Remote Desktop)"
$port = "3389"
$credentialUserName = ""
$credentialPassword = ""
$openInConsole = "Nein"
} else {
# Non-Windows VM (e.g. Linux) - use SSH
$connectionType = "SSH terminal"
$port = ""
$credentialUserName = ""
$credentialPassword = ""
$openInConsole = ""
}

avatar

For what it is worth, I would second the desire for this feature.