ssh and monitor attached on the server [closed]
You can go with "tmux" (https://man7.org/linux/man-pages/man1/tmux.1.html)
You can start a shared session with tmux new-session -s session_name
and in a the other Terminal you can attach to the session with tmux attach-session -t session_name