0
votes
0answers
13 views

Disable mouse reporting in a terminal session after tmux exits unexpectedly

I currently use iTerm2 and frequently SSH into remote servers and start a tmux session. On all of those servers, when SSH'ing into them, I automatically create a tmux config that enables mouse ...
1
vote
0answers
13 views

share local and remote tmux sessions

There seem to be many related questions but I'd like to see a specific workaround. So, I used to be an avid iTerm2 user (irrelevant) and I started using tmux remotely because I want to avoid SSH ...
0
votes
1answer
53 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
1answer
34 views

In tmux, after ssh a server, how to send R code in vim to R consol

I installed tmux and vim-r-plugin in local machine (ref: http://manuals.bioinformatics.ucr.edu/home/programming-in-r/vim-r), and use ssh to log in a server (only vim-r-plugin and screen installed). ...
1
vote
0answers
9 views

Scroll with mouse in tmux without mouse highlighting controlled by tmux

From this question, Scroll shell output with mouse in tmux the setting setw -g mode-mouse on allows mouse scroll in tmux. This also causes mouse highlighting by click and drag to be controlled by ...
0
votes
2answers
54 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
0
votes
0answers
44 views

Seamless vim and tmux panes between ssh client and host

This article describes assigning the same key binding to transitions between and within vim and tmux panes, allowing "seamless" transitions. ...
0
votes
1answer
35 views

Kill tmux when ssh is started

I have a server with tmux and a client with tmux. If I connect to my server I have running 2 tmux sessions, one from the client and one from the server. Is there a way to detach the clients sessions ...
0
votes
1answer
200 views

Mouse scrolling down in vim inside tmux via PuTTY, but not up

I'm experiencing an issue across multiple platforms where scrolling down with the mouse wheel works fine, but not scrolling up, while using vim within a tmux session within PuTTY. Any ideas? Maybe ...
0
votes
0answers
35 views

Is it normal for tmux to behave erratic when issuing “clear” command?

I have multiple panes, and every time I enter the clear command in one of the panes - strange things happen. For example, I enter "ls" on both panes, then if I clear the right pane (#2) - it clears ...
1
vote
0answers
48 views

tmux limit activity-monitor window size

As part of my work I typically need to connect to multiple different servers via SSH. I like to run a local tmux session to manage various terminals and then from within the SSH session to the remote ...
0
votes
1answer
213 views

Detach from local tmux session to attach to remote tmux?

I currently have my new Konsole instances pop up already within a tmux session, whether new or attached, since tmux is awesome and you should always be inside tmux, right? However, this puts me in a ...
2
votes
0answers
108 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
2
votes
0answers
1k views

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out ...
1
vote
0answers
203 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
0
votes
1answer
115 views

Using screen/Tmux to keep application running

I'm wondering if this is possible. I have my Linux Machine running at my workplace and I want to have XChat (IRC Client) running there all the time. I want to be able to connect to that client from ...
3
votes
1answer
1k views

X11 forwarding doesn't work with multiple tmux sessions

If I start a tmux session locally and leave it open, then ssh in remotely and start a new tmux session (not attaching to the old one, a brand spanking new session) X11 forwarding seems to break. I've ...
1
vote
2answers
202 views

tmux session not resuming to the same from different entry points?

I don't know if this is supposed to work by default, but it seems like when I try to resume a tmux session I have from one machine or a different one. I am using two different kinds of connection to ...
0
votes
2answers
400 views

Correct use of Tmux and Irssi via SSH

I'm pretty new with Tmux. I'm looking for a way to connect a Tmux session locally to a distant one, running on my server with irssi and other stuff. If i start a regular session with tmux And ...
1
vote
1answer
162 views

Text no longer shows after killing program, using tmux

I'm running a Minecraft server and whenever I "sh rtoolkit.sh" to start the server, everything works fine however once I stop the server and return to the command line ready to enter a command, text I ...
2
votes
1answer
228 views

Can tmux and a SSH-client on Windows be more integrated?

I am using tmux on my Debian server and PuTTY on Windows. This works as expected, but sometimes I wish, to have a more Windows like feeling when working via SSH, eg. have separate windows for the ...
2
votes
1answer
291 views

Is it possible to automatically attach to a tmux session using Chrome's Secure Shell extension?

Using Secure Shell in Chrome, can you automatically attach to a tmux session when SSH-ing to a server? If so, how do you do that?
1
vote
1answer
713 views

tmux, how to prevent broken pipe?

I'm new to ssh and tmux. I want to run a rake task on a remote server via ssh but I want to shutdown my computer and want the task continue running on the server. So I discovered tmux with seems to ...
3
votes
1answer
820 views

Prevent an already running background process from being stopped after closing SSH client

I have a process running on my Linux machine (Debian squeeze) that takes hours (or days) to finish. I don't want to stop it to restart it again with screen, tmux or with an output redirect to nohup. ...
1
vote
2answers
272 views

Is it possible to spawn an ssh-agent for a new tmux session?

I've seen lots of hacks for re-establishing contact with a GUI session's SSH agent from within tmux (and screen) sessions. I'm wondering if it's possible to de-couple from the GUI and spawn an ...
3
votes
1answer
3k views

Connecting a tmux pane to a remote server

I am quite new to tmux and don't really know how to use it to it's best effect so what I am trying to do might not be the best way of doing it. Feel free to give alternative suggestions! The setup: I ...
3
votes
1answer
737 views

ssh-agent key timeout with screen or tmux on bastion host

Normally I have ssh-agent running, I ssh to my bastion host then open a tmux session and connect to other boxes through that. Key forwarding works for any sessions that I open from that point ...
17
votes
2answers
3k views

tmux and screen-256 TERM not supported on remote hosts

I have set up my tmux to use screen-256colors and it works great with vim. However, when I ssh to a remote host from within tmux, screen-256colors isn't recognized, so I'm getting errors like this: ...
3
votes
4answers
2k views

Why are random letters inserted in my tmux session?

Sometimes when I use the mouse, or press and hold a movement key in tmux, random characters are inserted. For example, when I press the left movement key D is often inserted. A left mouse click often ...
9
votes
3answers
2k views

Synchronize pasteboard between remote tmux session and local Mac OS pasteboard

Setup: I use iTerm2 on MacOS to connect to a remote server. The remote server runs tmux, in which I open files and edit in vim sessions. Problem: I can't copy/paste between the remote tmux session ...
0
votes
1answer
66 views

How can I set up a “remote pair-coding” environment linux to linux?

I did some research on how to enable a pair-coding environment remotely so someone else on their MacOx/Linux box could view my screen (I code using vim + the rails plugin). I read Evan Light's blog ...
2
votes
1answer
3k views

Can I connect to a tmux session on a server _without_ sharing it with another user or detaching his session?

If I connect to a tmux session with the tmux a command, I end up sharing the session with a friend and we cannot work on our own thing (since we have to work in different windows). On the other hand, ...
1
vote
1answer
2k views

UTF-8 Not Working in PuTTY when using SSH Remote command

So. I am using PuTTY to connect to a remote server that has an irssi client running for me constantly through tmux. Connecting to the server, and typing "tmux attach" works fine and everything works ...
2
votes
2answers
582 views

Sending Commands to tmux Running in tmux

I'm using tmux to manage my windows, etc, and one of the things I do is SSH to a remote server and connect to a tmux session running there. Once there, however, I cannot sent C-b through to that tmux ...
14
votes
6answers
6k views

How can I get ssh-agent working over ssh and in tmux (on OS X)?

I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter ssh ...