ssh-keygen无回车生成公钥私钥对
ssh-keygen无回车生成公钥私钥对
ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa -q
-t:
-N:是指密码为空;
-f:id_rsa是指保存文件为~/.ssh/id_rsa和~/.ssh/id_rsa.pub
-q:指静默模式, 不输出显示
ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa -q
-t:
-N:是指密码为空;
-f:id_rsa是指保存文件为~/.ssh/id_rsa和~/.ssh/id_rsa.pub
-q:指静默模式, 不输出显示