Skip to content

SSH tunnel support#212

Open
lvim-tech wants to merge 2 commits into
kndndrj:masterfrom
lvim-tech:master
Open

SSH tunnel support#212
lvim-tech wants to merge 2 commits into
kndndrj:masterfrom
lvim-tech:master

Conversation

@lvim-tech

@lvim-tech lvim-tech commented May 12, 2025

Copy link
Copy Markdown
{
        "id": "db",
        "url": "mongodb://user:pass@localhost:28017/db?connect=direct",
        "name": "db",
        "type": "mongo",
        "ssh": {
            "user": "root",
            "host": "xx.xx.xx.xx",
            "remote_port": 27017,
            "local_port": 28017,
            "ssh_file": "/home/user/.ssh/netera",
            "options": [
                "-4",
                "-N",
                "-L"
            ]
        }
},

or

{
        "id": "db",
        "url": "mongodb://user:pass@localhost:28017/db?connect=direct",
        "name": "db",
        "type": "mongo",
        "ssh": {
            "user": "root",
            "host": "xx.xx.xx.xx",
            "remote_port": 27017,
            "local_port": 28017,
            "password": "pass",
            "options": [
                "-4",
                "-N",
                "-L"
            ]
        }
},

@phdah

phdah commented May 12, 2025

Copy link
Copy Markdown
Contributor

#56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants