Linux Terminal: how to capture or watch other terminal session

前端 未结 9 990
伪装坚强ぢ
伪装坚强ぢ 2020-12-30 01:25

Let say, I access to a server using ssh. In the same time, there is another person accessing that server.

Is it possible to watch what is going on in that person\'s

9条回答
  •  攒了一身酷
    2020-12-30 02:04

    To capture what Alice types in a terminal, and then the next day let Bob see what was typed -- without any risk of Bob accidentally typing anything into that terminal -- Alice can type "showterm" ( http://showterm.io ) in her terminal window to start the recording.

    To share a terminal so Alice and Bob both see "the same" terminal window and can both type commands into that window, there seems to be three popular methods: Byobu, tmux, or screen.

    (tmate is a fork of tmux that works just as well, perhaps better).

    • "How to Share a Terminal Session with Friends" (with Byobu)
    • "Sharing Terminal Sessions With Tmux And Screen"
    • "ask Ubuntu: Share SSH Session at login"
    • "Remotely Working Together on a Terminal Session in Linux" (with screen)
    • Ubuntu: "HOWTO: Connect to another user's console terminal using 'screen'"
    • "HowTo Share A Terminal Session Using Screen"

提交回复
热议问题