codebots.utilities.ssh.gen_keypair#

codebots.utilities.ssh.gen_keypair(ssh_folder=None, password=None)[source]#

Create a set of public and private keys and save them in the given folder.

Parameters:
ssh_folderstr

folder where the keys are saved.

passwordstr

encrypt the private key with a password.