by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

Sometimes it is necessary to generate a ssh key pair for automatic configuration.

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"

 

Tags: linux

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


linux

Remove the Linux Kernel that is not used by the old version on Ubuntu

This page describes how I removed the old version of Linux Kernel taking up space on ubuntu.

linux

How to check apache loaded and enabled which modules?

How to check apache loaded and enabled which modules?

linux

How to change timezone on RHEL 7/CentOS7/Fedora

On the new version of RHEL 7/CentOS 7 or Fedora, we can check the status and make adjustments through timedatectl.