def TestAuthentication(self, peer):
    try:
      self.RemoteCommand('ssh %s hostname' % peer.internal_ip)
    except errors.VirtualMachine.RemoteCommandError:
      raise errors.VirtualMachine.AuthError(
          'Authentication check failed. If you are running with Static VMs, '
          'please make sure that %s can ssh into %s without supplying any '
          'arguments except the ip address.' % (self, peer))
Get the next closest real or complex element based on distance
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_virtual_machine.py/BaseLinuxMixin.TestAuthentication--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/signal/filter_design.py/_nearest_real_complex_idx