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
ไม่มีความคิดเห็น:
แสดงความคิดเห็น