# ssh-keygen -t dsa -N '' #ssh-copy-id -i /root/.ssh/id_rsa.pub '-p DstPort root@DstIP' #/usr/bin/rsync -avz --progress -e 'ssh -p DstPort' SRC root@DstIP:DST
關於基於ssh的rsync傳送文件,目標不爲默認端口的操作
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
# ssh-keygen -t dsa -N '' #ssh-copy-id -i /root/.ssh/id_rsa.pub '-p DstPort root@DstIP' #/usr/bin/rsync -avz --progress -e 'ssh -p DstPort' SRC root@DstIP:DST