Skip to content

Instantly share code, notes, and snippets.

@aswathkk
Last active March 4, 2020 11:08
Show Gist options
  • Save aswathkk/c4d1fc5da9a69bc0437b40f7877dad21 to your computer and use it in GitHub Desktop.
Save aswathkk/c4d1fc5da9a69bc0437b40f7877dad21 to your computer and use it in GitHub Desktop.
True-color support in remote shell (CentOS 7 + mosh + tmux)
# Install Dependencies
sudo yum -y install autoconf automake make rpm-build rpmdevtools protobuf-compiler protobuf-devel libutempter-devel zlib-devel ncurses-devel openssh-clients perl-IO-Tty openssl-devel gcc gcc-c++
# Clone Mosh
git clone https://github.com/mobile-shell/mosh
cd mosh
./autogen.sh
./configure
make
sudo make install
# Download RPM file
wget http://mirror.ghettoforge.org/distributions/gf/el/7/plus/x86_64/tmux-2.4-2.gf.el7.x86_64.rpm
# Install tmux
sudo yum localinstall -y tmux-2.4-2.gf.el7.x86_64.rpm
# Remove installation file
rm tmux-2.4-2.gf.el7.x86_64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment