Skip to content

Allow to use different options to store SFTP passwords #567

@tyuldashev

Description

@tyuldashev

Description
After fixing #546 it's possible to use different passwords, but only if they are stored as plain text in sftp.json. While user may prefer to use other authentication abilities of SFTP plugin.

To Reproduce
Steps to reproduce the behavior:

  1. Assuming utbot user on remote server has non default password (other than utbot).
  2. Configure SFTP plugin but do not specify password in the sftp.json config file.
  3. Sync 'Local->Remote', SFTP just asks password on the fly and does not store it in the file.
  4. Try to configure UTBot through wizard, on Server Setup page enter SFTP port and try to click Next button.

Expected behavior
UTBot uses SFTP functionality to sync using stored in memory password or asks to enter password. But don't stores it in the file.

Actual behavior
'SFTP connection' error happens, user cannot pass this wizard page.

Additional context
Besides interactive login, user also may use SSH to configure synchronization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestvscode-pluginIssue related to VScode plugin

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions