question about pubkey and passphrase

Harald Dunkel harald.dunkel at aixigo.com
Tue Feb 11 18:37:09 AEDT 2020


Hi folks,

On 2020-02-10 23:59, Damien Miller wrote:
> On Mon, 10 Feb 2020, Harald Dunkel wrote:
> 
>> Hi folks,
>>
>> Since Docker can bind-mount every .ssh directory I am looking for
>> some way to forbid unprotected private keys.
>>
>> AFAICS it is currently not possible on the sshd to verify that
>> the peer's private key was protected by a passphrase. Can you
>> confirm?
> 
> That's not possible - the client could simply lie about whether the
> key was password-protected and the server has no way to determine the
> truth.
> 

Thanx very much for your detailed replies. I take this as a confirmation.

Of course I did not mean to blame openssh for this problem.


Regards
Harri


More information about the openssh-unix-dev mailing list