Identifying mysterious script

I noticed my system log (/log print) is peppered with these entries:

 09:50:54 script,error executing script from sshd failed, please check it manually

I have no scripts running that I’m aware of. I have three scripts defined, but I never call them anywhere. How can I get more info on what exactly is going on?

Should be related to the built-in ssh server:
https://help.mikrotik.com/docs/display/ROS/SSH
try disabling ssh in services:
https://help.mikrotik.com/docs/display/ROS/Services

Do you see any SSH logins at the same time?

I don’t know why I wasn’t getting reply notifications. Yes, it does seem to happen when I log in via ssh.

Oh but this is weird. It only happens when I log in from my iPad using Termius. There aren’t any scripts or other oddities configured in Termius so I’m not sure what’s going on.

This is an old thread but I just want to clarify what causes this.

It’s a bug of the termius app which tries to execute bash commands to detect the OS, which of course will fail. Disable the OS detection in the settings section and the error will be gone.

Regards

2 Likes

Do you mean Termius? It is commercial so I am not surprised by the data collection.

Yes Termius, sorry for the typo. The OS detection is only for automatically providing some icons to the connections and compatibility with some functions.

Just noticed this behavior when I tested the app, and found this thread.

1 Like