Sftp - use BOTH key and password
Moderators: Hacker, petermad, Stefan2, white
Sftp - use BOTH key and password
Hi!
is it not possible to use BOTH key and password when connecting to a site?
I can't seem to get it to work, I can add both, but according to the SFTP log is total commander only sending the key...
because these days it almost necessary to use 2 verifications..
is it not possible to use BOTH key and password when connecting to a site?
I can't seem to get it to work, I can add both, but according to the SFTP log is total commander only sending the key...
because these days it almost necessary to use 2 verifications..
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Sftp - use BOTH key and password
Unfortunately my plugin only supports login via key OR password, not both. The stored password is used to decrypt the key.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Sftp - use BOTH key and password
Ok, pitty, well, thx anyway! 

- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Sftp - use BOTH key and password
I have put it on my to do list, e.g. by making the password field multi-line, or adding a second password field.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Sftp - use BOTH key and password
oh, so the password under the key is the keys password if a key is used?
yeah, possibility to use both key and a password (not key password), can be useful..
Because a key or a password can be misplaced, but both a key and a password, then you shouldn't be allowed to use a computer
yeah, possibility to use both key and a password (not key password), can be useful..
Because a key or a password can be misplaced, but both a key and a password, then you shouldn't be allowed to use a computer
Re: Sftp - use BOTH key and password
Its absolute unusual to use password and keyfile for sftp logins.hellfire wrote: 2022-01-10, 14:00 UTC oh, so the password under the key is the keys password if a key is used?
yeah, possibility to use both key and a password (not key password), can be useful..
Because a key or a password can be misplaced, but both a key and a password, then you shouldn't be allowed to use a computer![]()
A keyfile already has a password and the remote host is configured to accept the key as login.
Adding an additional password maks no sense.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Sftp - use BOTH key and password
Yepp, that's me, minimum 64chars password and a 4kkey, at least for me...

- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Sftp - use BOTH key and password
I agree, as long as you store your key encrypted, there is no benefit of an extra password:A keyfile already has a password and the remote host is configured to accept the key as login.
1. You need something you have (the key)
2. You need something you know (the password for that key)
If your device is compromised and a key logger is installed, they can steal both your key password and site password.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com