Searched refs:public_key_path (Results 1 – 2 of 2) sorted by relevance
334 def CreateSshKeyPairIfNotExist(private_key_path, public_key_path): argument353 public_key_path = os.path.expanduser(public_key_path)355 public_key_exist = os.path.exists(public_key_path)361 public_key_path)369 with open(public_key_path, 'w') as outfile:376 public_key_path, " ".join(cmd))397 if default_pub_key_path != public_key_path:398 os.rename(default_pub_key_path, public_key_path)402 public_key_path, str(e)))405 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 == ""