This idea has the rather severe problem that it requires piping an untrusted remote script directly into bash.