0% found this document useful (0 votes)
74 views

Access New Window With Same SSH Session or Terminal Session Sharing

Byobu is a light, powerful, text-based window manager based on GNU Screen that allows users to share their terminal session across multiple windows and SSH connections. It can be installed on Linux systems using yum and allows users to create new terminal sessions, switch between sessions, split screens horizontally and vertically, and launch a configuration menu all through keyboard shortcuts. Byobu also enables users to start sessions automatically on login or manually through the byobu command.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

Access New Window With Same SSH Session or Terminal Session Sharing

Byobu is a light, powerful, text-based window manager based on GNU Screen that allows users to share their terminal session across multiple windows and SSH connections. It can be installed on Linux systems using yum and allows users to create new terminal sessions, switch between sessions, split screens horizontally and vertically, and launch a configuration menu all through keyboard shortcuts. Byobu also enables users to start sessions automatically on login or manually through the byobu command.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Access new window with same ssh session or terminal

session sharing - Byobu

Byobu is a light, powerful, text-based window manager based on GNU Screen. Byobu’s
default configuration options will let you share your screen directly after install. Once
you have installed byobu,

you can create a session instantly by typing byobu. Using byobu, you can quickly
create and move between different windows over a single SSH connection or TTY
terminal. This means that it makes it easy for you to open multiple windows and run
multiple commands within a single terminal connection.

Byobu is very useful for sharing your live terminal to any other ; it is also very helpful to
teaching & learning on use live session.

In this notes we will be cover how to configure byobu, how to use byobu, and some
most common features.

Installing Byobu

# yum install epel-release -y


# yum install byobu –y

Now that byobu is installed, we can configure some options.

Starting byobu on login


Note- Byobu is disabled by default after installation.

There are two main ways you can enable byobu:

You can manually start it with the byobu command every time you want to use it,
You can set it to start automatically when you log in to your account.

First we use the manually start the byobu


Run Byobu Command Both Terminal

Terminal-1 Login Terminal-2 Login

# byobu # byobu

Now you can run any command in teminal-1, then automatically show the terminal-2
session.
Second start automatically
To add byobu to your login profile, run the following command. This means that every
time you log in to your account, it will be launched.

# byobu-enable

The Byobu window manager will be launched automatically at each text login.

To disable this behavior later, just run:


byobu-disable

Press <enter> to continue...

If your mind change , and you wnat to disable byobu on login, then run below command

# byobu-disable

Extra Features

Byobu has many additional features that can be accessed via keyboard shortcuts.

1- Create a new terminal session inside Byobu: f2

2- Switch between terminal sessions inside Byobu: f4

3- Detach from Byobu session and logout: f6

4- Split the Byobu screen vertically: control + f2

5- Split the Byobu screen horizontally: shift + f2

6- Launch the Byobu configuration menu: f9

-Ashutosh

Reference-
http://byobu.co/documentation.html

You might also like