add ssh command support

This patch allows the execution of a predefined command instead of opening a shell. (ssh)