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"
For Linux system administrators, you must understand the ps aux command. If you want to be a Linux system administrator, or you are a Linux user, you should understand this command. ps is process status For short, anyone can find out what kind of program is running on the system and how the status is executed through this command. I saw some programs that should not appear, maybe the system was hacked and used to mine🥹
On the new version of RHEL 7/CentOS 7 or Fedora, we can check the status and make adjustments through timedatectl.
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.
No Comment
Post your comment