ref:【Linux】ssh-keygen不需要回车,自动生成密钥,批量免密操作!_sshkeygen自动回车-CSDN博客 ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa -q