Remote shell questions

See: Starting debug: does it have to be this cumbersome? - #14 by awneil