AlexxIT / SSHCommand

Run any SSH command on remote server from Home Assistant service call
https://github.com/AlexxIT/Blog
MIT License
89 stars 7 forks source link

Execute multiple commands in continuity #21

Closed KirkKirk closed 8 months ago

KirkKirk commented 8 months ago

Hi,

Is it possible to execute multiple commands in continuity? After accessing the Cisco router, I want to enter "enable" mode and execute a command. this is what should look like:

Line 1: username Line 2: password Line 3: en Line 4: password Line 5: reload

As per current abilities, I can reach Line 3 but no further.

Thanks, Kirk

AlexxIT commented 8 months ago

Try this https://github.com/AlexxIT/PythonScriptsPro