The path to `pagent.exe` (shouldn't it be `pageant.exe` btw?) is [hard-coded as](https://github.com/mscdex/ssh2/blob/master/lib/agent.js#L350): var EXEPATH = path.resolve(__dirname, '..', 'util/pagent.exe'); It would be nice if this were configurable, e.g. for use with Webpack and Electron where `__dirname` is unreliable and weird.