ref: 79c6404377c27bdd84d5743020cdf17d9696e1d0 dir: /vt/
#!/bin/rc rpath=`{x/path -P} cmd=`{awk 'BEGIN{ x = ENVIRON["*"] if(length(x) == 0) x = "$SHELL" printf("$SHELL -c ''cd %s; %s''", ENVIRON["rpath"], x) }'} vt ssh -r `{x/path -l} $"cmd