duyluonglc / lucid-mongo

Mongodb ODM for adonis framework
325 stars 61 forks source link

can this config connect with ssh tunnel #254

Open izorwebid opened 4 years ago

izorwebid commented 4 years ago

can this config connect with ssh tunnel? i try to paste the connection string with ssh extension, but still connect to my local pc, not mongo on cloud server.

.env

DB_CONNECTION_STRING=mongodb://[myUser]:[myPassword]@localhost:27017/[myDBname]?ext.ssh.server=[myIPServer]:22&ext.ssh.username=root&ext.ssh.keyPath=/Users/admin/.ssh/id_rsa