[root@localhost ~]# ssh-keygen -f /root/.ssh/id_rsa -N ""
[root@localhost ~]# scp -r /root/.ssh 192.168.1.2:/root/
192.168.1.2是对方主机
安装可选包:
[root@localhost ~]# yum -y install vim-enhanced bash-completion lrzsz tree
原文地址:http://sharkyun.blog.51cto.com/10455795/1933933