question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v1.15.6 is error on connect.

See original GitHub issue

Do you read the FAQ?

  • Yes.

Describe the bug sftp updated with v1.15.6. Cannot parse privateKey: Encrypted private OpenSSH key detected, but no passphrase given

To Reproduce Steps to reproduce the behavior:

  1. update v1.15.6
  2. sftp exploring
  3. this error shown. Cannot parse privateKey: Encrypted private OpenSSH key detected, but no passphrase given

but v1.15.5 is ok.

Desktop (please complete the following information):

  • OS: Mac
  • VSCode Version 1.62.0 (Universal)
  • Extension Version 1.15.6

Extension Logs from Startup - required

[11-09 10:51:19] [debug] register command "Cancel All Transfer" from "./commandCancelAllTransfer.ts"
[11-09 10:51:19] [debug] register command "Config" from "./commandConfig.ts"
[11-09 10:51:19] [debug] register command "List Active Folder" from "./commandListActiveFolder.ts"
[11-09 10:51:19] [debug] register command "Open Ssh Connection" from "./commandOpenSshConnection.ts"
[11-09 10:51:19] [debug] register command "Set Profile" from "./commandSetProfile.ts"
[11-09 10:51:19] [debug] register command "Toggle Output Panel" from "./commandToggleOutputPanel.ts"
[11-09 10:51:19] [debug] register command "Upload Changed Files" from "./commandUploadChangedFiles.ts"
[11-09 10:51:19] [debug] register command "Create File" from "./fileCommandCreateFile.ts"
[11-09 10:51:19] [debug] register command "Create Folder" from "./fileCommandCreateFolder.ts"
[11-09 10:51:19] [debug] register command "Delete Remote" from "./fileCommandDeleteRemote.ts"
[11-09 10:51:19] [debug] register command "Diff" from "./fileCommandDiff.ts"
[11-09 10:51:19] [debug] register command "Diff Active File" from "./fileCommandDiffActiveFile.ts"
[11-09 10:51:19] [debug] register command "Download" from "./fileCommandDownload.ts"
[11-09 10:51:19] [debug] register command "Download Active File" from "./fileCommandDownloadActiveFile.ts"
[11-09 10:51:19] [debug] register command "Download Active Folder" from "./fileCommandDownloadActiveFolder.ts"
[11-09 10:51:19] [debug] register command "Download File" from "./fileCommandDownloadFile.ts"
[11-09 10:51:19] [debug] register command "Download Folder" from "./fileCommandDownloadFolder.ts"
[11-09 10:51:19] [debug] register command "Download Force" from "./fileCommandDownloadForce.ts"
[11-09 10:51:19] [debug] register command "Download Project" from "./fileCommandDownloadProject.ts"
[11-09 10:51:19] [debug] register command "Edit In Local" from "./fileCommandEditInLocal.ts"
[11-09 10:51:19] [debug] register command "List" from "./fileCommandList.ts"
[11-09 10:51:19] [debug] register command "List All" from "./fileCommandListAll.ts"
[11-09 10:51:19] [debug] register command "Reveal In Explorer" from "./fileCommandRevealInExplorer.ts"
[11-09 10:51:19] [debug] register command "Reveal In Remote Explorer" from "./fileCommandRevealInRemoteExplorer.ts"
[11-09 10:51:19] [debug] register command "Sync Both Directions" from "./fileCommandSyncBothDirections.ts"
[11-09 10:51:19] [debug] register command "Sync Local To Remote" from "./fileCommandSyncLocalToRemote.ts"
[11-09 10:51:19] [debug] register command "Sync Remote To Local" from "./fileCommandSyncRemoteToLocal.ts"
[11-09 10:51:19] [debug] register command "Upload" from "./fileCommandUpload.ts"
[11-09 10:51:19] [debug] register command "Upload Active File" from "./fileCommandUploadActiveFile.ts"
[11-09 10:51:19] [debug] register command "Upload Active Folder" from "./fileCommandUploadActiveFolder.ts"
[11-09 10:51:19] [debug] register command "Upload File" from "./fileCommandUploadFile.ts"
[11-09 10:51:19] [debug] register command "Upload Folder" from "./fileCommandUploadFolder.ts"
[11-09 10:51:19] [debug] register command "Upload Force" from "./fileCommandUploadForce.ts"
[11-09 10:51:19] [debug] register command "Upload Project" from "./fileCommandUploadProject.ts"
[11-09 10:51:19] [info] config at /Users/user/Dropbox/Project/XXXX_2021 {"remotePath":"/home/XXXX/src/","uploadOnSave":true,"useTempFile":false,"openSsh":false,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"XXXX 2021","host":"100.100.100.100","port":10022,"username":"******","password":"******"}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
clemyancommented, Nov 12, 2021

@manuzcom

If you still see the issue on latest version, can you try if using another ssh client (e.g. OpenSSH client) connects successfully using password authentication?

Or, check ~/.ssh/config to see if you have configured the host to use private key authentication?

I changed how the SSH config file is parsed to be more in line with how other SSH clients parse it, and that was released in 1.15.6. Some config that would be picked up by other SSH clients were not picked up by this extension at or before 1.15.5. Most of those would now be picked up.

0reactions
Natizyskunkcommented, Nov 21, 2021

@nbeirao,

I’m happy to hear that. Perfect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XPPen Artist 15.6 Pro driver error. “Please connect the device ...
I'm getting an error message on my driver application “Dear XPPen users: Hello, please connect the device first.” All of the cables are...
Read more >
Mailer error from time to time - osTicket Forum
I have smtp configured and in use, which makes php mail error concerning, but I've no idea where to poke... Using osTicket v1.15.6,...
Read more >
CONFIG_FILE_READ_ERROR with iOS 15.6 and Connect 3.3.0
Manually trying to open a VPN connection from a mobileconfig like posted above fails with the reported error. An automatically opened VPN ...
Read more >
Knative probes are failing after deploying sample sk-learn ...
Sometimes the InferenceService is shown as Ready=False with error IngressNotConfigured, however restarting network-istio and cluster-gateway- ...
Read more >
GitLab 15.6 released with improvements to security policies ...
SerializationError on garbage collector is a retryable error · Container Registry access token expires for large uploads · GitLab v1 API ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found