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_folder str

folder where the keys are saved.

password str

encrypt the private key with a password.