add ssh command support

This patch allows the execution of a predefined command instead of opening a shell. (ssh)
Wrong log message here - we're not associating a shell with the PTY in this case.