Monitor other users commands on ssh

Discussion in 'HOWTO-Related Questions' started by Efex, May 12, 2018.

  1. Efex

    Efex Member

    How can i monitor live other users commands on ssh?
    I logged into ssh as root and my friend logged into ssh with root too.
    I want to monitor live inputted commands from him.

    How can i do that?
     
  2. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    hmm should be possible with tmux. But it does work slightly different from what you have now. I actually never played much with its config but yeah...
    But I think it just mirrors the terminals in/output, so if you "watch" one session with someone else you could interfer yourselves.

    Probably better: conspy => https://linux.die.net/man/1/conspy
    dunno maybe https://www.npmjs.com/package/ssh-live
     

Share This Page