vscode-sftp
vscode-sftp copied to clipboard
Feature request: remember password
Is this a similar or duplicate feature request?
- [ ] I don't know. I will go check it.
- [x] No.
Is your feature request related to a problem? Please describe. I'm frustrated to enter the password every time the extension accesses to the server.
Describe the solution you'd like The server closes the connection after a few seconds of inactivity:
[10-19 12:47:08] [debug] < '150 Opening ASCII mode data connection for file list\r\n'
[10-19 12:47:08] [debug] < '226 Transfer complete.\r\n'
[10-19 12:47:18] [debug] > NOOP
[10-19 12:47:28] [debug] > NOOP
[10-19 12:47:38] [debug] > NOOP
[10-19 12:47:48] [debug] > NOOP
[10-19 12:47:58] [debug] > NOOP
[10-19 12:48:08] [debug] < '421 No Transfer Timeout (45 seconds): closing control connection.\r\n'
When the password is stored in the config file, the extension reconnects automatically. But when the password is not stored, the extension prompts for it. I would like the extension remembers the password entered the 1st time it connects.
Describe alternatives you've considered
Does this project help you?
- [x] Yes. SFTP IS AWESOME!
- [ ] Yes. I want to support you.
I am using the latest version and it's not prompt me for the password when I set it in config file:
{
"name": "server name",
"host": "ftp.example.com",
"protocol": "ftp",
"port": 21,
"username": "asdas",
"password": "*****",
"remotePath": "/",
"uploadOnSave": false
}
@vahidahmad, indeed, as mentioned in my request:
When the password is stored in the config file, the extension reconnects automatically. But when the password is not stored, the extension prompts for it.
I am using the latest version and it's not prompt me for the password when I set it in config file:
{ "name": "server name", "host": "ftp.example.com", "protocol": "ftp", "port": 21, "username": "asdas", "password": "*****", "remotePath": "/", "uploadOnSave": false }
But this leaves the password in plain text in a normal text file (the config file) -- this is a security issue... Ideally the password should be stored in some encrypted way, or am I missing something here?...
I would love it if the password should only be required once per session. I wouldn't like to store it, but to enter it on every-single-save is a bit too much.
I think it would also be nice if the plugin supported asymmetric SSH encryption keys. I'll look into this.
It is a big security issue to store passwords in a plain text. Can you add a master password in the configuration to decrypt passwords that are saved encrypted?