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?
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