ls /usr/bin/python*
sudo apt-get remove python3.5
sudo apt-get remove --auto-remove python3.5
sudo apt-get purge python3.5
# 1. Reinstall open ssh server | |
sudo apt-get purge openssh-server | |
sudo apt-get install openssh-server | |
# 2. Install public key | |
# vim .ssh/authorized_keys blabla | |
chmod 400 .ssh/authorized_keys | |
# 3. Edit open ssh server config files | |
# Some settings are not needed, but these will help for sure to make it work |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user