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"
On the new version of RHEL 7/CentOS 7 or Fedora, we can check the status and make adjustments through timedatectl.
When we use ssh to connect to the host for the first time, a fingerprint confirmation of the host key will be displayed. Sometimes use rsync for some automated scheduling, maybe the remote host has changed and needs to be automatically allowed, How to let ssh automatically allow fingerprints to connect without manually pressing yes in interactive mode?
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.
No Comment
Post your comment