A:
ssh-keygen -t rsa
scp /root/.ssh/id_rsa.pub [email protected]:/root/.ssh/authorized_keys
不能scp 得用cat /tmp/id_rsa.pub >> authorized_keys
scp /root/.ssh/id_rsa.pub [email protected]:/root/.ssh/authorized_keys
scp -r /home/workspace/dev/apps [email protected]:/home/
linux 间拷贝文件
猜你喜欢
转载自zhangchengtest.iteye.com/blog/2236657
今日推荐
周排行