-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.12.6
-
Component/s: Connectivity
-
None
-
2
-
Not Needed
If the Compass user selects SSH tunneling and specifies an identity file with no content, there is no error message displayed when the user clicks the CONNECT button.
$ ls -alt .ssh/id_rsa -rw------- 1 brian staff 0 Apr 20 10:34 .ssh/id_rsa
There is an error thrown in the DevTools Console:
/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/ssh2-streams/lib/keyParser.js:42 Uncaught TypeError: Cannot read property 'length' of undefined at module.exports (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/ssh2-streams/lib/keyParser.js:42:18) at Client.connect (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/ssh2/lib/client.js:228:23) at SSHTunnel.createTunnel (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/lib/ssh-tunnel.js:53:4) at /Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:3866:24 at replenish (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:998:17) at /Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:1002:9 at eachOfLimit (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:1027:24) at _parallel (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:3865:5) at Object.series (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:4721:5) at SSHTunnel.listen (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/lib/ssh-tunnel.js:138:9)
- related to
-
COMPASS-4069 Update ssh2 dependency
- Closed