Goal of that function is to test the preferred key exchange methods based on what's available in the known_hosts file