V
V
Vadim2021-08-02 15:13:18
linux
Vadim, 2021-08-02 15:13:18

Is it possible to generate ssh rsa type key with passphrase lenght less than 5 characters?

Hello everyone,

is it possible to generate a set of ssh keys where the passphrase length is less than 5?

all the best,
Vadim

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vasily Bannikov, 2021-08-02
@vabka

The standard ssh-keygen allows you to generate keys with any password, including zero length

S
Saboteur, 2021-08-02
@saboteur_kiev

Yes. There are no restrictions in the utility itself

A
Alexander Karabanov, 2021-08-02
@karabanov

ssh-keygen -t rsa -P "pp" -f ./my_rsa
Where pp is the password
Read man ssh-keygen
PS
RSA - die off use -t ed2559 they are both shorter and more reliable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question