Lost Password?
Forgot your username?
No account yet? Register

Show Cart
Your Cart is currently empty.
Powerful Remote Command Execution and Pipelining

Powerful Remote Command Execution and Pipelining

 

Need an md5 or sha256 checksum of one of your remote files ? Need to see a remote 'ls' output or script some file or directory creation on the remote filesystem ? Perhaps you need to pipeline the output of a local 'dd' command to a remote filesystem ...

All of these things are possible with your offsite filesystem, as a wide array of standard unix administration and checksum commands can be run, remotely, over SSH.

 

Checksum Commands

 

Your offsite filesystem has access to the following checksum commands:

md5, sha1, sha256 and rmd160

By default, your Macintosh OSX system only includes the md5 command, however you can run the other commands remotely against your remote files if you choose. Remote checksums are run in this manner:

 

ssh 1234@sync.coaly.net sha256 some/file

 

Pipelining Through 'dd' (Database Dumps)

 

 

pg_dump -U postgres db | ssh 1234@sync.coaly.net \
"dd of=db_dump"

or perhaps:

 

mysqldump -u mysql db | ssh 1234sync.coaly.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 This e-mail address is being protected from spambots. You need JavaScript enabled to view it touch some/file

and then:

 

ssh 1234@sync.coaly.net rm -rf some/other/file

The 'passwd' command is special, as it requires a '-t'

 

ssh -t 1234@sync.coaly.net passwd

 

Please see the entire Macintosh Integration Guide for details of other access methods.

 
RocketTheme Joomla Templates