I don't know if this works for winbox sessions, but for ssh/telnet... [admin@gw] /system script job> /system script job [admin@gw] /system script job> print # SCRIPT OWNER STARTED 0 admin jan/23/2012 19:45:24 1 admin jan/23/2012 19:45:30 [admin@gw] /system script job> remove 0 interrupted Connection to gw closed.
I use the same thing to detect multiple instances automated upgrade scripts. The "script" value will match the name from /system script if you call it with /system script run or :execute. -Kristian On 01/23/2012 08:43 AM, Faisal Imtiaz wrote: > Hello, > > Anyone know on how to disconnect a remote winbox user or ssh user via > command line on a Mikrotik ? > > Thanks. > -------------------------------------------------------------------------------- WISPA Wants You! Join today! http://signup.wispa.org/ -------------------------------------------------------------------------------- WISPA Wireless List: [email protected] Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
