Searched refs:public_key_path (Results 1 – 2 of 2) sorted by relevance
339 def CreateSshKeyPairIfNotExist(private_key_path, public_key_path): argument358 public_key_path = os.path.expanduser(public_key_path)360 public_key_exist = os.path.exists(public_key_path)366 public_key_path)374 with open(public_key_path, 'w') as outfile:381 public_key_path, " ".join(cmd))402 if default_pub_key_path != public_key_path:403 os.rename(default_pub_key_path, public_key_path)407 public_key_path, str(e)))410 private_key_path, public_key_path)
100 def SetupSSHKeys(config_path, private_key_path, public_key_path): argument113 if (private_key_path == "" or public_key_path == ""