I 获取stdin pipline stdinP, err := sshSession.StdinPipe()

II 初始化wsBufferWriter,赋值给ssh-session.Stdout和ssh-session.Stderr

typewsBufferWriterstruct{bufferbytes.Buffermusync.Mutex}.........comboWriter:=new(wsBufferWriter)//ssh.stdout and stderr will write output into comboWritersshSession.Stdout=comboWritersshSession.Stderr=comboWriter