Connect to commandline with SSH on a https connection
Step #1 Update Repositories
sudo apt-get update && upgrade -y
Step #2 Install Shell In A Box
sudo apt-get install shellinabox
Step #3 Check
Goto url https://server-ip-address:4200
Step #4 Change the default port if you want
sudo nano /etc/default/shellinabox
change port 4200 to any port you want.
Step #5 Restart Shell In A Box
sudo service shellinabox restart
Done !!!