Greetings people. I started messing with mikrotik routers recently and I’m looking for a bit of help.
I want the router to retrieve a file from an external source remotely via ssh, like this:
ssh user@<gatewayIP> tool fetch url="http://sourceIP:Port/file"
but an ‘expected end of command’ error occurs each time. Yet when I ssh into the router first, then write the following command
tool fetch url="http://sourceIP:Port/file"
It retrieves the file without problem. What is happening here? Can anyone give me a clue? Thanks.