Community discussions

MikroTik App
 
jlgonzalez
just joined
Topic Author
Posts: 11
Joined: Wed Dec 11, 2019 9:38 am

Accessing Safe Mode with Paramiko

Wed Feb 05, 2020 11:27 am

Hi everyone!

I'm trying to execute some commands in my Mikrotik router via Python scripts. With Paramiko, I'm currently able to access the router and execute the commands. However, some of them are a little bit 'risky' and I would like to run them using Safe Mode. According to the ASCII table, CTRL+X command can be introduced by sending \x18 to the router. However, if I do that, I see not response at all.

Said that, I would like to know if someone here has used a similar solution to access the router in Safe Mode. If so, I would aprecciate some help with that.

Thanks.
 
camilo17
just joined
Posts: 2
Joined: Wed Dec 22, 2021 5:52 am

Re: Accessing Safe Mode with Paramiko

Tue Dec 13, 2022 6:36 pm

Hi
Did you find any solution for this?
I'm trying to the same but with mikrotik scripts.

Thanks
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7042
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Accessing Safe Mode with Paramiko

Tue Dec 13, 2022 6:46 pm

Safe mode works only in ineractive mode.

Who is online

Users browsing this forum: No registered users and 15 guests