Comments (2)
tmate does not support multi session yet on a given tmux server. This feature is on the roadmap.
Since we still want to launch multiple tmate session at the same time, the workaround I used was to launch multiple tmux servers. This is done by randomizing the tmux unix socket name. Indeed, if you launch a couple of tmate sessions, you will see a few sockets in /tmp/tmate-*
.
This limitation will be removed in upcoming versions of tmate.
When you try to reattach to the tmate session, a new socket name is picked randomly so you don't conflict on an existing session. As a workaround, to be able to attach to an existing session, you have to specify the socket yourself. For example, if you wish to connect to a specific socket, you may use something like: tmate -S /tmp/tmate-1000/wQzSKz attach
.
You can also name your sockets when creating a new session with the -S
flag. For example:
If you launch a session with tmate -S /tmp/rails-project
, you can detach, and then reattach with tmate -S /tmp/rails-project attach
.
from tmate.
@nviennot say, think 10 years is enough of a wait for tmate attach
?
from tmate.
Related Issues (20)
- Tmate server rejects connections from Paramiko
- Plugin manager not working HOT 1
- Getting Error: Not Found HOT 4
- API key registration fails with HTTP 500 - Internal Server Error HOT 6
- Webhook not working on newer Raspbian or raspberry pi HOT 1
- Invalid session token with github actions
- API KEY ERROR
- VsCode HOT 2
- SFTP support
- Getting fatal:accept failed: Operation not supported on socket
- build system fails to detect msgpack-c 6.0.0
- ctrl+b not being recognized HOT 1
- Window pauses for 30-60 seconds every few minutes
- Enable copying files from tmate session via scp
- How build static tmate?? HOT 1
- Output the connection URL in machine readable (barcode) format? HOT 2
- OpenWrt 21.02.7 Error when connecting the second session.
- tmate only shows a completely blank terminal (plus status bar) after discarding the connection messages HOT 2
- Web-based Authentication for Tmate
- Use Webhook with IFTTT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmate.