You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
I sometimes connect to a server with ssh agent forwarding enabled in order to do development and testing on different operating systems, or have a faster pipe between my dev env and npm/github than my local machine when traveling. To do this, I like to use a tmux -CC session, so that my windows and tabs in my terminal all feel local in iTerm2.
This all works great, but the problem happens when git or ssh operations try to use my local ssh config to connect, and in so doing, trigger some output in the tmux control center session. Because tmux -CC uses ANSI codes to communicate window and pane information, this breaks the session and I get booted.
I've figured out that I can work around this by using this config for the host in question:
ControlPath ~/.ssh/control-%r@%h:%p
ControlMaster auto
ControlPersist 1
And then opening up an initial ssh connection, and a second connection for the tmux -CC session, but it is a bit annoying to have to keep yet another tab open.
It'd be nice if there was a way to tell krssh to just not print any output to the terminal.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I sometimes connect to a server with ssh agent forwarding enabled in order to do development and testing on different operating systems, or have a faster pipe between my dev env and npm/github than my local machine when traveling. To do this, I like to use a
tmux -CC
session, so that my windows and tabs in my terminal all feel local in iTerm2.This all works great, but the problem happens when
git
orssh
operations try to use my local ssh config to connect, and in so doing, trigger some output in the tmux control center session. Becausetmux -CC
uses ANSI codes to communicate window and pane information, this breaks the session and I get booted.I've figured out that I can work around this by using this config for the host in question:
And then opening up an initial ssh connection, and a second connection for the
tmux -CC
session, but it is a bit annoying to have to keep yet another tab open.It'd be nice if there was a way to tell krssh to just not print any output to the terminal.
The text was updated successfully, but these errors were encountered: