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:
botobj

sshBot object to access the server.

ssh_folderstr

folder where the keys are stored.

Warning

This works only on linux servers.