Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Key generation script

Shulou Source: shulou.com Published: 2022-06-01 07:06:03 10月03日 Update

Ssh-keygen-b 1024-t rsa-N 123456-f yangcan generates a key pair with a password

-t type

-b size

-N password

-f name

-t type

Ssh-keygen-b 2048-t rsa-N ""-f cancan generates a key pair without a password

The way to remove the password

Openssl rsa-in ~ / .ssh/id_rsa-out ~ / .ssh/id_rsa_new

The way to change the password

Interactive password modification

Ssh-keygen-p-f id_rsa_new

Change the password on the command line

Ssh-keygen-p-P '123123'-N '123456'-f yangcan

Tags: Password mode key generation type interaction name command size script Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Linux Docker vpn