code: func (t *remoteTerminal) prepareRemoteSession(session *ssh.Session, ctx *ServerContext) {
  	envs := map[string]string{
  		teleport.SSHTeleportUser:        ctx.Identity.TeleportUser,
  		teleport.SSHSessionWebproxyAddr: ctx.ProxyPublicAddress(),
  		teleport.SSHTeleportHostUUID:    ctx.srv.ID(),
  		teleport.SSHTeleportClusterName: ctx.ClusterName,
  		teleport.SSHSessionID:           string(ctx.session.id),
  	}
  
  	for k, v := range envs {
  		if err := session.Setenv(k, v); err != nil {
  			t.log.Debugf("Unable to set environment variable: %v: %v", k, v)
  		}
  	}
  }
docs: // prepareRemoteSession prepares the more session for execution.