Remote Commands Over SSH
Checksum Commands
Your backup filesystem has access to the following checksum commands:
- md5
- sha1
- sha256
- rmd160
Remote checksums are run in this manner:
ssh 1234@usw-s001.rsync.net sha256 some/file
Pipelining Through 'dd' (Database Dumps)
pg_dump -U postgres db | ssh 1234@usw-s001.rsync.net \
"dd of=db_dump"
or perhaps:
mysqldump -u mysql db | ssh 1234@usw-s001.rsync.net \
"dd of=db_dump"
Miscellaneous Unix Commands
The other remote commands that can be used over ssh are:
echo, cp (GNU), ls, mkdir, pwd, chmod, ln, mv, rm, rmdir, touch, tail, chgrp, groups, id, passwd, quota
For example, you can run something like:
ssh 1234@usw-s001.rsync.net touch some/file
and then:
ssh 1234@usw-s001.rsync.net rm -rf some/other/file
The 'passwd' command is special, as it requires a '-t'
ssh -t 1234@usw-s001.rsync.net passwd

