code: func newSession(ch Channel, reqs <-chan *Request) (*Session, error) {
  	s := &Session{
  		ch: ch,
  	}
  	s.exitStatus = make(chan error, 1)
  	go func() {
  		s.exitStatus <- s.wait(reqs)
  	}()
  
  	return s, nil
  }
docs: // newSession returns a new interactive session on the remote host.