ssh timeout

Hello,

please I have problem with ssh session timeout. I tested it on RB600A with RouterOS 4.5, 4.6 and 5.0beta1 with the same result on each.

With simple commands like “/something print” it is no problem, but when importing a src file the error appear.

The problem is, that the command have to finish in 60 seconds, otherwise the error appears.

I tried to use ssh keep-alive and tcp keep-alive on client side with no success. As far I know there is no configuration on ssh service on Mikrotik.

Thanks for suggestions.

What is in the imported .rsc file? How was it created (exported)?

It was generated externally - it is configuration with shaping for customers, “/ip firewall mangle” and “/queue tree” rules. The rules are alright, when imported using winbox, everything works fine.

It is a bit longer - about 5000 lines, so it takes about 3 minutes to import.