Giter Club home page Giter Club logo

Comments (8)

awyl avatar awyl commented on August 21, 2024 1

Thanks for responding so quickly. Right now it works very well. I have one more request though. The password is shown in plain text as we type, can it be masked?

from vscode-deploy-reloaded.

robert914 avatar robert914 commented on August 21, 2024 1

I think I see an issue with this now. I have been using SFTP with a defined "privateKey" setting (i.e. which requires no password), and therefore, I don't have a password defined. However, now every time I start a new season and then use deploy, it now asks for a password. If I just hit "Enter" it happily transfers since it has the privateKey setting, and it stops asking for the current session. However, every new restart of the application or open of a workspace, it asks again.

This password requirement should not happen if the user has a "privateKey" setting, as it won't be needed. I think this is being ignored now for this new password prompt check.

Example config setup:

        "targets": [
            {
                "type": "sftp",
                "name": "Remote",
                "description": "Remote target",
                "host": "myhost.server.com",
                "port": 22,
                "user": "robert",
                "privateKey": "${homeDir}/.ssh/id_rsa_remote",
                "dir": "/home/robert/src/project1",
                "modes": 644,
                "debug": true
            }

Can you please fix this?

FYI, I can't seem to re-open this ticket, so should I create a new one?

from vscode-deploy-reloaded.

robert914 avatar robert914 commented on August 21, 2024 1

Works perfect again! Thanks for the fast fix!

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on August 21, 2024

@awyl

I have implemented that feature in version 0.62.1, for SFTP and FTP targets.

If you do not define an username and/or password (or set them to (null)), input boxes are shown and those values are cached by default for the current editor session.

You can control the cache behavior by defining the alwaysAskForPassword and/or alwaysAskForUser settings.

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on August 21, 2024

@awyl

Sorry, I forgot to merge from branch.

The feature should be available since the new version 0.62.2 now.

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on August 21, 2024

@awyl

Sorry, of course! ... Should be available since version 0.63.0.

from vscode-deploy-reloaded.

awyl avatar awyl commented on August 21, 2024

Nice and thanks! Work perfectly!!

from vscode-deploy-reloaded.

mkloubert avatar mkloubert commented on August 21, 2024

@robert914 @awyl

Thanks a lot! The issue should be fixed since version 0.64.0.

If there are still issue(s) according to that new feature, you should open a new entry.

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.