[root@centos ~]# echo "" > /tmp/sss && echo "" >> /tmp/sss && cat /tmp/sss | ssh-keygen -q -N "" -t rsa && chmod 700 ~/.ssh
Enter file in which to save the key (/root/.ssh/id_rsa): [root@centos ~]#
[root@centos ~]# ls -l .ssh #生成確認
合計 8
-rw-------. 1 root root 1675 3月 16 18:16 2016 id_rsa
-rw-r--r--. 1 root root 406 3月 16 18:16 2016 id_rsa.pub