B
B
bit_rainbow2014-02-24 15:29:49
linux
bit_rainbow, 2014-02-24 15:29:49

There are CentOS/Debian servers, how to make sure that each SSH session is in a specific screen?

There are Linux servers CentOS/Debian etc. How to make sure that each SSH session is in a specific screen?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis, 2014-02-24
@bit_rainbow

Use tmux .
It is possible to make tabs and switch within the same SSH session.
Tmux for Everyday Needs
A short tmux cheat sheet
The main differences between tmux and GNU Screen:
The tmux-resurrect plugin provides a snapshot of the state of the tmux environment so that it can be restored after a system restart.
Features of tmux-resurrect :
Lightweight replacement for tmux and GNU screen abduco and dvtm (tiled window manager). Implying a departure from the creation of complicated multifunctional programs in favor of combining simple applications that solve their specific task. In particular, dvtm only handles windowing, while abduco takes care of sessions.

A
AxisPod, 2014-02-24
@AxisPod

Posony, explain what you need, if anyone understands?
And if it's normal, then it's not clear what you want.
If anything, then screen is a local software and allows you to open several terminals locally. Yes, simply.
If you need it under Windows, then in fact there is no way, although you can use cygwin, for example, but this option is not very good.
If you are under niks, launch screen and use ssh to connect where you need to.

E
EvilMan, 2014-02-24
@EvilMan

Launch a separate instance of screen when connected via ssh.

N
Nikolai Vasilchuk, 2014-02-24
@Anonym

alias ssh='screen ssh'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question