SSH Cheatsheet

1
2
3
4
# Reverse proxy
ssh -L 8089:xwsdev3-01sc8:8089 chef@xwsdev3-01sc8

ssh -L 15672:localhost:15672  [devops@54.191.175.83](mailto:devops@54.191.175.83)  -N

Install ssl lets encrypt

1
2
3
4
5
# Install on apache
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache
sudo certbot --apache -d beta.casadeltenis.com.bo