Community discussions

MikroTik App
 
jmatwyko
just joined
Topic Author
Posts: 8
Joined: Thu Feb 23, 2017 4:36 am

ssh from routerOS timeout after 900 seconds

Thu Feb 23, 2017 4:54 am

When I ssh from Mikrotik router to internal device after ~900 secs of no input I end back up at prompt. For example, I want to ping a host that cannot be pinged from router so I must ssh to device and ping from that device to another.
system ssh 10.0.0.2 user=root 
root@Demarc:~# ping 10.213.12.45
PING 10.213.12.45 (10.213.12.45): 56 data bytes
64 bytes from 10.213.12.45: seq=0 ttl=64 time=3.388 ms
64 bytes from 10.213.12.45: seq=1 ttl=64 time=5.885 ms

skipping the next ~900 pings....

64 bytes from 10.213.12.45: seq=897 ttl=64 time=3.030 ms
64 bytes from 10.213.12.45: seq=898 ttl=64 time=3.241 ms

Welcome back!
Is there some way to remove the idle input timeout on routerOS "/system ssh X.X.X.X. user=root" command??

Who is online

Users browsing this forum: Cr4shOnPc, patrikg and 90 guests