You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occurs when a file is saved in the same folder as .remote-sync.json.
Private key is in format: ssh-rsa <key value>== rsa-key-<key name>
My apologies, I cannot recall what the name of the format is. It was generated using PuTTYgen on the same machine.
.remote-sync.json file has the following text, with some sensitive details removed:
"logger": {
"title": "Remote Sync"
},
"uploadOnSave": true,
"useAtomicWrites": false,
"deleteLocal": false,
"hostname": "<ip address>",
"port": "22",
"target": "<target>",
"ignore": [
".remote-sync.json",
".git/**"
],
"username": "<username>",
"keyfile": "<location>",
"watch": [],
"transport": "scp",
"useAgent": true
}
Note that I also tried setting "useAgent" to false. The same issue arrises regardless of the value.
Atom: 1.36.0 x64 Electron: 2.0.18 OS: Microsoft Windows 10 Pro Thrown From: remote-sync package 4.1.8
Stack Trace
Uncaught Error: privateKey value does not contain a (valid) private key
At C:\Users\Owner\.atom\packages\remote-sync\node_modules\ssh2\lib\client.js:232
Error: privateKey value does not contain a (valid) private key
at Client.connect (/packages/remote-sync/node_modules/ssh2/lib/client.js:232:13)
at ScpTransport.module.exports.ScpTransport._getConnection (/packages/remote-sync/lib/transports/ScpTransport.coffee:179:16)
at ScpTransport.module.exports.ScpTransport.upload (/packages/remote-sync/lib/transports/ScpTransport.coffee:54:6)
at UploadListener.module.exports.UploadListener.processFile (/packages/remote-sync/lib/UploadListener.coffee:48:17)
at /packages/remote-sync/node_modules/async/dist/async.js:4096:9
at Object.process (/packages/remote-sync/node_modules/async/dist/async.js:2344:17)
at /packages/remote-sync/node_modules/async/dist/async.js:2252:19
at Immediate._onImmediate (/packages/remote-sync/node_modules/async/dist/async.js:119:16)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
Occurs when a file is saved in the same folder as .remote-sync.json.
Private key is in format: ssh-rsa <key value>== rsa-key-<key name>
My apologies, I cannot recall what the name of the format is. It was generated using PuTTYgen on the same machine.
.remote-sync.json file has the following text, with some sensitive details removed:
"logger": {
"title": "Remote Sync"
},
"uploadOnSave": true,
"useAtomicWrites": false,
"deleteLocal": false,
"hostname": "<ip address>",
"port": "22",
"target": "<target>",
"ignore": [
".remote-sync.json",
".git/**"
],
"username": "<username>",
"keyfile": "<location>",
"watch": [],
"transport": "scp",
"useAgent": true
}
Note that I also tried setting "useAgent" to false. The same issue arrises regardless of the value.
Atom: 1.36.0 x64
Electron: 2.0.18
OS: Microsoft Windows 10 Pro
Thrown From: remote-sync package 4.1.8
Stack Trace
Uncaught Error: privateKey value does not contain a (valid) private key
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: