Fix incorrect Connection parameter in execCommand

The ssh2 Connect requires the pty value to reside within the options parameter.