Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

RFE: Provide an option to disable the terrminal output #291

Open
isaacs opened this issue Dec 5, 2019 · 0 comments
Open

RFE: Provide an option to disable the terrminal output #291

isaacs opened this issue Dec 5, 2019 · 0 comments

Comments

@isaacs
Copy link

isaacs commented Dec 5, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant