ssh module was pausing input for the entire websocket while doing the simple 'write' operation. Change to background the actual logon processing, rather than blocking what should be a fairly trivial write operation.