{"id":7285,"date":"2023-07-05T17:44:16","date_gmt":"2023-07-05T12:14:16","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=7285"},"modified":"2023-07-05T17:44:18","modified_gmt":"2023-07-05T12:14:18","slug":"how-to-connect-to-the-authenticated-mongodb-database-via-mongodb-compass-using-ssh","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-connect-to-the-authenticated-mongodb-database-via-mongodb-compass-using-ssh\/","title":{"rendered":"How to connect to the Authenticated MongoDB database via MongoDB Compass using SSH."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Introduction:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MongoDB Compass is a graphical user interface (GUI) tool for MongoDB that allows users to interact with their databases and perform various tasks. It provides a visual representation of the data and allows users to easily explore and manipulate their collections.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>SSH Login details<\/li>\n\n\n\n<li>Database user credentials<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Procedure:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:<\/strong> Open the MongoDB Compass application,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/06\/image-5.png\"><img decoding=\"async\" width=\"102\" height=\"101\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/06\/image-5.png\" alt=\"\" class=\"wp-image-7287\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It will shows the page like below,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/image-9-1024x557.png\" alt=\"\" class=\"wp-image-1990\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong> Click on <strong>Advanced Connection Options<\/strong> and select the <strong>Proxy\/SSH<\/strong> option,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/image-10.png\" alt=\"\" class=\"wp-image-1991\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3:<\/strong> Then choose the <strong>SSH with Password<\/strong> method,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/image-11.png\" alt=\"\" class=\"wp-image-1992\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Fill the server login details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4: <\/strong> Select <strong>Authentication<\/strong> option and choose the <strong>Username\/Password<\/strong> method,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/image-18.png\" alt=\"\" class=\"wp-image-2002\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Give the username, password and for <strong>Authentication Database<\/strong> name as admin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5:<\/strong> Then click <strong>Connect<\/strong> button at the right bottom of the page, It will shows this page<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/image-15.png\" alt=\"\" class=\"wp-image-1996\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After few seconds it will connect to the database.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/image-16.png\" alt=\"\" class=\"wp-image-1997\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MongoDB Compass is a user-friendly and powerful tool that makes it easy for users to interact with their MongoDB databases. Its intuitive interface and visual representations make it accessible to both beginners and advanced users, allowing them to easily explore, query, and modify their data. If you are using MongoDB, Compass is a great tool to have in your toolkit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: MongoDB Compass is a graphical user interface (GUI) tool for MongoDB that allows users to interact with their databases [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[],"class_list":["post-7285","post","type-post","status-publish","format-standard","hentry","category-web-architecture","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1Tv","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=7285"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7285\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=7285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=7285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=7285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}