designed to work with rdump(8) to remote disk.
-d <directory> confines rmt to operate within a single directory.
-r enforces read-only mode.
-w enforces write-only mode.
This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys:
command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3...
ok semarie@
While here,
* use .Ic rather than .Sy for commands and fix an .Xr
* remove duplicate $Id$ and multiple useless .Tn and .Xo
* avoid lengthy .Bd and .Sm where they are not needed
OK matthew@ jmc@