-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
et needs ssh's -t option to support running tmux with et #620
Comments
EDIT: my setup was a bit more complex and i needed a from macos:
but this works if I run directly: so there's a valid workaround, feel free to close if remaing bug is bearable |
Hmm. Maybe the issue is that doing an et inside of an ssh has a problem?
et always allocates a psuedoterminal so it doesn't need a -t. Ptys are
cheap enough that no one has complained yet.
…On Wed, Feb 21, 2024, 9:28 PM Timothee Cour ***@***.***> wrote:
EDIT: my setup was a bit more complex and i needed a --jumphost host_aux,
and what i had tried was:
from macos:
ssh host_aux
then this failed: et myhost -c "/pathto/tmux new-session -A -s foo"
while this worked: `et myhost` followed by `/pathto/tmux new-session -A -s foo`
but this works if I run directly:
et myhost --jumphost host_aux -c "/pathto/tmux new-session -A -s foo"
—
Reply to this email directly, view it on GitHub
<#620 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACK5P2QTG4FXVC2Y5BAEYDYU23PBAVCNFSM6AAAAABDUEH3TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJYGU4TAOJSG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ssh -t is useful to force pseudo-terminal allocation, eg:
ssh myhost /pathto/tmux new-session -A -s foo
open terminal failed: not a terminal
ssh -t myhost /pathto/tmux new-session -A -s foo
works, starts or joins tmux
ssh -o RequestTTY=yes myhost /pathto/tmux new-session -A -s foo
also works
what's the equivalent with
et
?this didn't work:
et myhost -c "/pathto/tmux new-session -A -s foo"
it prints:
passing this didn't help:
--ssh-option -t
nor did--ssh-option RequestTTY=yes
, nor did--ssh-option RequestTTY=force
this might help with debugging?
et --logtostdout --verbose 9 --ssh-option "LogLevel=DEBUG3,RequestTTY=force"
The text was updated successfully, but these errors were encountered: