can this config connect with ssh tunnel
izorwebid opened this issue · 0 comments
izorwebid commented
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