Share a linux screen over SSH for troubleshooting

Using screen -L -S and screen -x for coworking. It is really cool

Sometimes, me and my linux buddies want to fix some dependencies or learn from each other by sharing a screen. Since we are working on a target machine (eg installing typo3 or magento2) we could use some screensharing software. Howver i really like the option to share a screen via SSH. And by screen I mean the actualy linux screen, not a display output.

The first user starts the screen by giving it a specific name something like:

screen -L -S danielknows

Then the second user can connect to the machine via SSH and attach him/herself to the same screen.

screen -x danielknows

This way you type together in one shell, and help debugging if somebody is stuck or in need of help. I really like this low-level approach to collective typing on the shell. You can literally see the keystrokes appearing like working together in a modern webbased document sharing solution, but on SSH. Epic.

Created by Daniel on 11/22/2024

Copyright © DanielKnows.com 2019 - 2024 - Built with NuxtJS

Subscribe for Tech Tips!

Stay updated with the latest tech insights and tips. Subscribe now!

{}