There is no password query in the command line, and an ssh key pair is generated.
ssh-keygen -b 2048 -t rsa -f /tmp/id_rsa -q -N "" -C "comment"
ssh-keygen -b 2048 -t rsa -f /tmp/id_rsa -q -N "" -C "comment"
Sometimes we need to generate a random password, but do not know what to use? Here is a simple bash that allows us to easily generate a set of passwords on the terminal.
The instructions are different on MacOS or Linux, but achieve the same effect. Let's see how to display yesterday's date with the date command.
There may still be some old programs in some places, which can only run the old system. But you want to be able to execute and install some desired packages, you may try this method. Please note that if this system is important to you, please evaluate it yourself. It is recommended that you have a Docker environment and have a backup image before trying it.
No Comment
Post your comment