Searched refs:public_key_path (Results 1 – 2 of 2) sorted by relevance
322 def CreateSshKeyPairIfNotExist(private_key_path, public_key_path): argument341 public_key_path = os.path.expanduser(public_key_path)343 public_key_exist = os.path.exists(public_key_path)349 public_key_path)357 with open(public_key_path, 'w') as outfile:364 public_key_path, " ".join(cmd))385 if default_pub_key_path != public_key_path:386 os.rename(default_pub_key_path, public_key_path)390 public_key_path, str(e)))393 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 == ""