Giter Club home page Giter Club logo

Comments (10)

rodshtein avatar rodshtein commented on July 20, 2024 2

@seatrout You have an error in the configuration file.
wrong: "privatekey":"…"
right: "privateKey":"…"

look it: (a little patience please)
2018-03-03_01-39-20

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on July 20, 2024

@seatrout

Try set tryKeyboard setting in target to (true).

from vscode-deploy-reloaded.

seatrout avatar seatrout commented on July 20, 2024

Nope: same error. But then the sshd daemon on the server is configured only to allow private key logins

from vscode-deploy-reloaded.

seatrout avatar seatrout commented on July 20, 2024

Ooops: checking this, the server does allow password authentication. I thought I had stopped that. But the machine is only accessible from inside the network so it should be safe

from vscode-deploy-reloaded.

seatrout avatar seatrout commented on July 20, 2024

I'm sorry for these stupid questions but I can't see what's gone wrong
Does the sftp subsystem want an openSSH format key?
Is there a worked example showing how to translate an absolute Windows file path into something this extension understands?
Is there any way to log a more informative error message so we know why the authentication fails?

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on July 20, 2024

Use a path like c:/ssh/camerazero_id_rsa for private key on windows ... relative paths should have a leading . like ./ssh/camerazero_id_rsa ... those paths are mapped to your .vscode or your .vscode-deploy-reloaded sub folder inside your home directory

from vscode-deploy-reloaded.

seatrout avatar seatrout commented on July 20, 2024

No: still doesn't work. With the key id_rsa placed in the ssh subfolder of
.vscode-deploy-reloaded in my home dir (next to the logs subfolder)
and the relevant line
"privatekey":"./ssh/id_rsa"
in my workplace configuration, I get the same error message.

Connecting with an ssh program using the same key from the same computer works perfectly well ...
Should I be restarting the editor between edits to the configuration?

from vscode-deploy-reloaded.

seatrout avatar seatrout commented on July 20, 2024

I think this has to be a bug introduced into vscode itself somehow. I have tried other extensions and they won't work, but sftp from the command line in the terminal of vscode works perfectly well. And there are complaints here of this functionality breaking with the upgrade to vscode 1.20.

I may try deleting and reinstalling all of the vscode config, but that seems a bit drastic

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on July 20, 2024

@zamkevich @seatrout

Now the error makes sense!

My eyes are too old for such typos :D

from vscode-deploy-reloaded.

seatrout avatar seatrout commented on July 20, 2024

Thank you, both for finding my mistake, and taking the trouble to animate the solution. It's all working now. I will in future trust the intellisense rather than simply typing!
A

from vscode-deploy-reloaded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.