rsync sshポートを指定する
rsyncは一般的にはデフォルトでsshを利用するよう設定されているがeオプションで変更することができる。
1
|
|
eオプションでなく環境変数 RSYNC_RSH
に設定しても同じことができる。
You can also choose the remote shell program using the RSYNC_RSH environment variable, which accepts the same range of values as -e.
引用元: rsync
1 2 |
|