Sftp - use BOTH key and password

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hellfire
Junior Member
Junior Member
Posts: 4
Joined: 2022-01-07, 08:35 UTC

Sftp - use BOTH key and password

Post by *hellfire »

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..
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sftp - use BOTH key and password

Post by *ghisler(Author) »

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
hellfire
Junior Member
Junior Member
Posts: 4
Joined: 2022-01-07, 08:35 UTC

Re: Sftp - use BOTH key and password

Post by *hellfire »

Ok, pitty, well, thx anyway! :D
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sftp - use BOTH key and password

Post by *ghisler(Author) »

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
hellfire
Junior Member
Junior Member
Posts: 4
Joined: 2022-01-07, 08:35 UTC

Re: Sftp - use BOTH key and password

Post by *hellfire »

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 😄
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Sftp - use BOTH key and password

Post by *Horst.Epp »

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 😄
Its absolute unusual to use password and keyfile for sftp logins.
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 x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
hellfire
Junior Member
Junior Member
Posts: 4
Joined: 2022-01-07, 08:35 UTC

Re: Sftp - use BOTH key and password

Post by *hellfire »

Horst.Epp wrote: 2022-01-10, 14:41 UTC unusual
Yepp, that's me, minimum 64chars password and a 4kkey, at least for me... :roll:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sftp - use BOTH key and password

Post by *ghisler(Author) »

A keyfile already has a password and the remote host is configured to accept the key as login.
I agree, as long as you store your key encrypted, there is no benefit of an extra password:
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
Post Reply