Misc package repository for amazonlinux-2, centos-7 and ubuntu-xenial
sudo tee -a /etc/yum.repos.d/pritunl-misc.repo << EOF
[pritunl-misc]
name=Pritunl Misc Repository
baseurl=https://repo.pritunl.com/misc/yum/amazonlinux/2/
gpgcheck=1
enabled=1
priority=1
EOF
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp
sudo yum -y install tmux mosh
sudo tee -a /etc/yum.repos.d/pritunl-misc.repo << EOF
[pritunl-misc]
name=Pritunl Misc Repository
baseurl=https://repo.pritunl.com/misc/yum/centos/7/
gpgcheck=1
enabled=1
priority=1
EOF
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp
sudo yum -y install tmux mosh
sudo tee -a /etc/yum.repos.d/pritunl-misc.repo << EOF
[pritunl-misc]
name=Pritunl Misc Repository
baseurl=https://repo.pritunl.com/misc/yum/oraclelinux/7/
gpgcheck=1
enabled=1
priority=1
EOF
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp
sudo yum -y install tmux mosh