top | item 27339078

(no title)

pmccarren | 4 years ago

for fans of tmux, I'm partial towards tmate[0], instant tmux session sharing over ssh, optionally through a relay

refs: [0]https://tmate.io

discuss

order

caymanjim|4 years ago

What does this get you over simply attaching to an existing tmux session? You can already SSH into a machine and join any existing tmux session, or better yet, create a new session from an existing session, and get independent viewports and parallel input, or shared, depending on which window you're looking at.

bitbang|4 years ago

You can quickly provide a shared session connection to an external third party, so they can access computers that are not publicly accessable and that they normally would not have access to without having to do any credential management.

It's great for tech support.

tty-share is also good https://tty-share.com/

whateveracct|4 years ago

I can run tmate in my laptop and a teammate can join.

usr1106|4 years ago

Great link, I have been searching for something like that for a while. Sharing terminals over Google Meet does not work very well. The video compression is particularly lossy with red on black. Pretty annoying with syntax highlighting or colored shell output.

At a quick glance this is not seem to be end to end encrypted, but tmux is running on their server? That's not something I could ever use for work, we are in regulated domain. But you can run your own server, need to check that out.

e12e|4 years ago

We've been toying with duckly (née gitduck) - and it provides shared web browsing, shared editing, and shared terminal. There might be some rough edges with the in-browser "window management" - but overall it works pretty well IMHO:

https://duckly.com/tools/terminal

Unfortunately not self-hosted.

We briefly tried tmate - do yourself a favour and get the upstream build (available as static binaries for Linux) - it's a bit finky about versions.

Eg via: https://github.com/tmate-io/tmate/releases/tag/2.4.0 get https://github.com/tmate-io/tmate/releases/download/2.4.0/tm... and drop the extracted binary in ~/bin or something.

You can self-hosted tmate, but imnho tmate doesn't add that much value over "grant user ssh access and use plain shared tmux/screen".

In that case, you might (for workstation/laptop) have co-worker's on vpn via wireguard /tailscale, bind sshd to the vpn interface, and allow access via ssh keys/certificates.

usr1106|4 years ago

>the video compression is particularly lossy with red on black.

The irony is that 20 years ago video conferencing was unthinkable, but I used VNC over a dial-up modem. Lossless and much better for terminal sharing than what is generally available today.

Modern computing feels like the dark Middle Ages after the downfall of the Roman empire in some aspects...

3v1n0|4 years ago

teleconsole is also great!

https://teleconsole.com/

It also allows to do selected ssh tunnels, useful to share services on local ports.