View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#76
A couple points, Qole:
From ssh(1)
Additionally, ssh reads ~/.ssh/environment, and adds lines of the format
``VARNAME=value'' to the environment if the file exists and if users are
allowed to change their environment. For more information, see the
PermitUserEnvironment option in sshd_config(5).
But really, -X or -Y, as appropriate, is better.
Also, replace the $1 $2 $3 with $*.

Is there a reason you don't do the mounting, binding, and copying stuff on startup? Then to run any given app, it's just a matter of chroot...