Skip to content

Instantly share code, notes, and snippets.

View novium's full-sized avatar
­perfect infra

Alexander Troshin novium

­perfect infra
View GitHub Profile
@novium
novium / install-user-mosh.sh
Last active January 6, 2018 21:47 — forked from ViViDboarder/install-user-mosh.sh
Mosh is great, but sometimes the remote server you're accessing doesn't have it installed or doesn't give you sudo access. This script will install mosh as a user.
#! /bin/bash
# Make a directory to hold local libs and bins
mkdir -p ~/usr/local
# Get protobuf
wget https://github.com/google/protobuf/archive/v2.5.0.tar.gz
# Extract protobuf
mv v2.5.0.tar.gz protobuf-2.5.0.tar.gz
tar -xvzf protobuf-2.5.0.tar.gz