WARNING: don't use ~ and don't use double quotes.
- rsync -av -e 'ssh -i /home/me/.ssh/id_rsa_other' root@logging.gumby.com:/remotedir/ /localdir/
Also, some alternative port:
- rsync -av -e 'ssh -p 2221' root@logging.gumby.com:/remotedir/ /localdir/
No comments:
Post a Comment
Note: only a member of this blog may post a comment.