Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with tmux

You're reading from   Getting Started with tmux Maximize your productivity by accessing several terminal sessions from a single window using tmux

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher Packt
ISBN-13 9781783985166
Length 148 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Victor Quinn Victor Quinn
Author Profile Icon Victor Quinn
Victor Quinn
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Jump Right In 2. Configuring tmux FREE CHAPTER 3. Sessions, Windows, and Panes 4. Manipulating Text 5. Diving Deeper 6. tmux for SSH, Pair Programming, and More 7. Using Other Tools with tmux A. Appendix Index

Using tmux over SSH for long lived sessions


How many times have you been connected to a remote server over SSH just to have some network blip terminate your session, putting you back at square one when you reconnect?

With tmux, you can connect to a remote server, start a tmux session, and set up windows and panes the way you'd like them. Then, if you get disconnected from the remote server for any reason—be it a network blip, the SSH session timing out, disconnecting from a VPN, or simply closing your laptop to go home for the day—you can SSH into that machine later and reconnect to your tmux session which has continued running, preserving your state as you left it.

This is my favorite use of tmux and one that saves the most time in my daily workflow. Not only because it is useful to deal with network connectivity issues gracefully, but also since most remote servers running Linux are rarely terminated; this means that once you start a tmux session, it can persist for weeks or months.

Practically...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime