codebots.bots.sshbot.sshBot.execute_cmds#
Method
- sshBot.execute_cmds(commands, close_connection=True, verbose=True)[source]#
Execute general command on the server side
- Parameters:
- commandslist of str
list of commands (str) to execute on the server.
- close_connectionbool (optional)
if true close the ssh connection, by default True. Leave the connection open if you plan to run several commands.
- Returns:
- None