Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach to existing remote sessions #8

Open
wagoodman opened this issue Aug 27, 2017 · 0 comments
Open

Attach to existing remote sessions #8

wagoodman opened this issue Aug 27, 2017 · 0 comments

Comments

@wagoodman
Copy link
Owner

It would be nice to have something that acted like ssh ... -t tmux attach-session or ssh ... -t -- bash -c "tmux attach || tmux new" to attach or create a session. Currently bridgy does:

(TMUX on my local machine)
 |
 + session 1: someotherhost
    \_ window1: ssh user@someotherhost
    \_ window2: ssh user@someotherhost
    \_ ...

but attaching or creating would allow:

(TMUX on my local machine)
 |
 + session 1 linked to an existing session on someotherhost
    \_ window1: shell on someotherhost
    \_ window2: shell on someotherhost
    \_ ...

Note: this needs to be resilient to tmux not being installed on the remote host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant