-e オプションを使う rsync -r -e "ssh -p 22" username@xxx.xxx.xxx.xxx:~/temp/test/ test3/ {{category2 OS,Linux}}