Linux Terminal: how to capture or watch other terminal session

前端 未结 9 932
伪装坚强ぢ
伪装坚强ぢ 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"
    0 讨论(0)
  • 2020-12-30 02:05

    You can also try "cat /dev/vcsa1"

    0 讨论(0)
  • 2020-12-30 02:11

    If you mean that the other person wants you to see his console, you two can use screen to share a terminal. See http://www.gnu.org/software/screen/manual/html_node/Multiuser-Session.html for a full description of how to do it.

    0 讨论(0)
提交回复
热议问题