codebots.utilities.ssh.add_pubkey_to_server

codebots.utilities.ssh. add_pubkey_to_server ( bot , ssh_folder , os_type = 'linux' ) [source]

Adds the public key to the server’s list.

Parameters
bot obj

sshBot object to access the server.

ssh_folder str

folder where the keys are stored.

Warning

This works only on linux servers.