[root@centos ~]# scp ~/.ssh/id_rsa.pub root@centos2:~/.ssh/centos.pub
The authenticity of host 'centos2 (centos20)' can't be established.
RSA key fingerprint is 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'centos2' (RSA) to the list of known hosts.
root@centos2's password:
id_rsa.pub 100% 406 0.4KB/s 00:00