0
votes
2answers
45 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
28 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
27 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
120 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
30 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
38 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
186 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
102 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
184 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
106 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
949 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
196 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
378 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
139 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
211 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
260 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
659 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
799 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
263 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
700 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 ...
15
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: ...
2
votes
3answers
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 ...
8
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
1k 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
5k 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 ...