My personal blog about health, hobby, stock & investment, information technology, self improvement, tax and travel.
Pages
▼
Pages
▼
30 มีนาคม 2563
16 มีนาคม 2563
connect MongoDB from RoboMongo to Google Cloud Compute Engine via ssh
steps to connect MongoDB from RoboMongo to Google Cloud Compute Engine via ssh
1. ssh to Google Cloud Compute Engine and go to ~/.ssh (if no directory, create it)
2. run ssh-keygen to create a keypair
3. update file ~/.ssh/authorized_keys and add your public key to this file (id_rsa.pub)
4. from your RoboMongo follow these steps
- Connection Address: 127.0.0.1
- SSH Address: public IP of your Google Cloud Compute Engine
1. ssh to Google Cloud Compute Engine and go to ~/.ssh (if no directory, create it)
2. run ssh-keygen to create a keypair
3. update file ~/.ssh/authorized_keys and add your public key to this file (id_rsa.pub)
4. from your RoboMongo follow these steps
- Connection Address: 127.0.0.1
- SSH Address: public IP of your Google Cloud Compute Engine