def METHOD_NAME():
  SetBlockProjectSshKeys(True)
  project_key = MD.AddSshKey(MM.SSH_KEYS, MM.PROJECT_LEVEL)
  instance_key = MD.AddSshKey(MM.SSH_KEYS, MM.INSTANCE_LEVEL)
  MD.TestSshLogin(project_key, expect_fail=True)
  MD.TestSshLogin(instance_key)
  SetBlockProjectSshKeys(False)
  MD.TestSshLogin(project_key)
  MD.TestSshLogin(instance_key)
  MD.RemoveSshKey(instance_key, MM.SSH_KEYS, MM.INSTANCE_LEVEL)
  MD.RemoveSshKey(project_key, MM.SSH_KEYS, MM.PROJECT_LEVEL)
  MD.TestSshLogin(project_key, expect_fail=True)
  MD.TestSshLogin(instance_key, expect_fail=True)