Problem with mikrotik SSH command

I try to connect MT to MT router with SSH and send command (with generated ssh-key)
In linux box all thing working very nice, but seems like mikrotik router does not have this ability.
Maybe is some other arround to acomplish this simple task.
Problem is because we can;t use external linux box is for dynamic IP address. We need to change remote static host, changed dynamic IP for EOIP tunnel remote address. When changes dynamic IP we loose connectivy over EOIP tunnel, we can’t issue ssh commands from linux box because linux box is without connectivity.

Many thanks for HELP.

Well the problem is with IP connectivity not with SSH command.
I suggest you to use PPTP tunnel instead, it can work in the situation when one IP address is dynamic (PPTP-client), PPTP server requires static IP address.

  1. First PPTP is very slow because our link is aprox ~100mbps; We can’t use this slow encrypted tunnel.
  2. Problem is because mikrotik routerOS do not support elegant way to exetute command on remote mikrotik routerOS from mikrotik routerOS local router.
  3. Linux ssh have this ability would be nice if mikrotik implement ssh command with private key execute remote command example: ssh -l username -i private_key “/routerOS command”
    Thanks for reply;
    If you extend routerOS with this function we can automate many tasks without mediate linux server.

I should have read your post earlier :slight_smile:
Would have saved me quite some time.
I definitely also would like to see this feature.