Dale Harris <[EMAIL PROTECTED]> writes:
Hmm, it seems I'm not clear enough.
> What would be wrong with using rcp as a model, like ssh does with scp?
There's nothing wrong with that. It should work just fine.
However, that model is designed for the user that has an account at
the server, and is allowed to log in and run more or less arbitrary
programs. From the point of view of rshd, sshd or lshd, running
rcp/scp is just a special case of "log in and execute arbitrary
commands". I'm thinking about when that is not the case.
It might be *possible* to implement limited rcp/scp as an regexp to
match those command lines that are allowed. But I that is *not* the
Right Thing to do.
/Niels