curl https://raw.githubusercontent.com/WeslyG/super-ssh/master/sssh.sh --output sssh
chmod +x sssh
for example copy sssh to /usr/local/sbin
cp ./sssh /usr/local/sbin
vi ~/.bashrc
alias s='sssh'
Super SSH
Usage:
ssh example:
s youre-machine-name
s youre-machine-name -p 8080
scp example
s file.txt my-vm:/tmp
s my-vm:/tmp/file.txt /tmp
s -p 23 my-vm:/tmp/file.txt /tmp
ssh tunnel example
s -N my-vm -L 3000:localhost:3000 -L 2000:localhost:2000