Added support for workdir to SSH