<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ramaiah.K.V on Medium]]></title>
        <description><![CDATA[Stories by Ramaiah.K.V on Medium]]></description>
        <link>https://medium.com/@christyram99?source=rss-512b45bfe55f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*j--gy8ZCaEo8I19OgEDgQg.jpeg</url>
            <title>Stories by Ramaiah.K.V on Medium</title>
            <link>https://medium.com/@christyram99?source=rss-512b45bfe55f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 07:47:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@christyram99/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SSH tunnelling with mongodb atlas]]></title>
            <link>https://medium.com/@christyram99/ssh-tunnelling-with-mongodb-atlas-d9b1b90eadc0?source=rss-512b45bfe55f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9b1b90eadc0</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[ssh-tunnel]]></category>
            <category><![CDATA[mongodb-tutorial]]></category>
            <category><![CDATA[mongodb-atlas]]></category>
            <category><![CDATA[proxy]]></category>
            <dc:creator><![CDATA[Ramaiah.K.V]]></dc:creator>
            <pubDate>Mon, 06 May 2024 10:21:32 GMT</pubDate>
            <atom:updated>2024-05-06T10:21:32.342Z</atom:updated>
            <content:encoded><![CDATA[<p>The <strong>Proxy / SSH Tunnel</strong> allows you to connect to your deployment with a Proxy method or SSH tunnel.</p><p>Step 1: Give the access to the server. Then add your local system ssh key to the server .ssh/authorized_keys with help server team</p><p>ssh key generation</p><pre>ssh-keygen</pre><p>authorized key file</p><pre>nano .ssh/authorized_keys</pre><p>Step 2: Add mongodb nodes to hosts file.</p><p>open C:\Windows\System32\drivers\etc\hosts for windows and /etc/hosts for ubuntu with notepad admin mode and add mongodb nodes to the end of file</p><pre>127.0.0.1 cccc-shard-00–00.vpfhu.mongodb.net<br>127.0.0.1 cccc-shard-00–01.vpfhu.mongodb.net<br>127.0.0.1 cccc-shard-00–02.vpfhu.mongodb.net</pre><p>Step 3: Open terminal and execute following command to enable the tunneling</p><p>Use any port in the local. Here, I used 27027 as the port to connect to the database.</p><pre>ssh -fNL 27027:cccc-shard-00–00.vpfhu.mongodb.net:27017 ubuntu@1.1.1.1</pre><p>Step 4: . Now you can connect to the mongo using cccc-shard-00–00.vpfhu.mongodb.net:27027</p><p>Note: you can only connect to the single node in the replica set. Writes are enabled only in the primary node. Please check which node is primary and connect to the node</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9b1b90eadc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>