[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
本文共 257 字,大约阅读时间需要 1 分钟。
[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
转载于:https://blog.51cto.com/sharkyun/1933933