fix(ssh): create the error channel before using it
Merge pull request #159 from unihorn/13

fix(ssh): create the error channel before using it