<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Okta ASA: Found Multiple Matches Error When Attempting to Connect to a Server
Okta Classic Engine
Overview

Users are encountering a found multiple matches error when attempting to connect to a server using sft hostname. The complete error is referenced below:

user@macbook ~ % sft ssh ip-x-x-x-x 
error: found multiple matches: 
  4d39a05f-f653-4edf-b651-708687dc5105 (ip-x-x-x-x, Registered September 6, 2023 03:36 UTC)
  b0dd1ca9-56c3-4c37-9985-14da711780a4 (ip-x-x-x-x, Registered August 9, 2023 16:17 UTC)
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535


ASA console (or sft list-servers output) shows two server entries for the hostname with the same IP.

kushal.choubay@N0FQY7K70Y ~ % sft list-servers 
HOSTNAME     OS_TYPE    PROJECT_NAME                  ID                    ACCESS_ADDRESS    
ip-x-x-x-x    linux      prod          4d39a05f-f653-4edf-b651-708687dc5105    x.x.x.x       
ip-x-x-x-x    linux      prod          b0dd1ca9-56c3-4c37-9985-14da711780a4    x.x.x.x 

No issue is found when sft ssh is done using the server ID. 
 

Applies To
  • Okta Advanced Server Access (ASA)
  • Okta Classic Engine
Cause
This issue can happen if the server has been re-enrolled without deleting it from the Project. 
Solution
  1. Log in to ASA UI.
  2. Go to the project server that it is enrolled into and search with hostname.
  3. Click on the project to get ID details.
  4. Delete the one that was enrolled previously.
    • For example, from the error message above, server ID b0dd1ca9-56c3-4c37-9985-14da711780a4 is the old enrollment which should be deleted.


If none of the admins re-enrolled the server and re-enrollment appears to have happened automatically, reach out to Okta Support for root cause analysis.

Loading
Okta ASA: Found Multiple Matches Error When Attempting to Connect to a Server