JR & LK - add some functionality around ssh upload