Community discussions

MikroTik App
 
Sdhomran
just joined
Topic Author
Posts: 2
Joined: Wed Dec 20, 2017 6:46 pm

how i can send ssh command through script

Tue Jul 24, 2018 8:34 am

hi there
i have problem when i try to send ssh command through script
when i use terminal it's done but when i use script or scheduler it's not

can anyone help me
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7190
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: how i can send ssh command through script

Tue Jul 24, 2018 12:37 pm

at the moment it is not possible, scripts do not have enough permissions to execute SSH command.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3345
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: how i can send ssh command through script

Tue Jul 24, 2018 10:28 pm

Maybe an idea to change Tools/Telnet too Tools/SSH and SSH as default.
Or Tools/SSH-Telnet.
Did not know it had SSH before I tried the menu, and Telnet is not secure at all, so should not be used.
 
Sdhomran
just joined
Topic Author
Posts: 2
Joined: Wed Dec 20, 2017 6:46 pm

Re: how i can send ssh command through script

Thu Jul 26, 2018 3:28 am

thanks a lot for replay
 
palii
just joined
Posts: 23
Joined: Sun Nov 19, 2017 6:57 pm

Re: how i can send ssh command through script

Thu Apr 18, 2019 11:46 am

Since version 6.45beta27 you can use ssh-exec.

Who is online

Users browsing this forum: No registered users and 13 guests