Comments (10)
@seatrout You have an error in the configuration file.
wrong: "privatekey":"…"
right: "privateKey":"…"
look it: (a little patience please)
from vscode-deploy-reloaded.
Try set tryKeyboard setting in target to (true).
from vscode-deploy-reloaded.
Nope: same error. But then the sshd daemon on the server is configured only to allow private key logins
from vscode-deploy-reloaded.
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.
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.
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.
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.
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.
Now the error makes sense!
My eyes are too old for such typos :D
from vscode-deploy-reloaded.
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)
- Symbolink links in packages are not followed under Windows HOT 1
- Deploy Based on SVN Status HOT 1
- Best way to deploy different folders to different targets HOT 3
- SFTP destination file is given current timestamp, not timestamp of source file
- Exclude filters not being honoured
- Empty folders and dot files are not deployed
- Ability to pull all files with sub folders on selection
- Disable popups
- Typo on wiki-page
- Be more verbose when action start or connecting
- I tried setting up this extension and now I can't reach my live domain anymore
- How to select files without parent folder
- Clean/delete from remote directory before deploy HOT 1
- Since VsCode Version : 1.53.0 Deploy crash on save #173
- sftp: Cannot parse privateKey: Unsupported key format HOT 2
- After renaming a file from CamelCase to lowercase, it's still deployed with CamelCase name (SFTP)
- Add support for active-transfer FTP servers
- How to get proper file permissions on the destination server?
- 'Cannot parse privateKey: Unsupported key format'
- Deploy reloaded no longer working after vscode update to 1.59.0 HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-deploy-reloaded.