Versions in this module Expand all Collapse all v0 v0.4.22 Jul 28, 2026 Changes in this version + func NewSshClient(user, password string, port string) (*ssh.Client, error) + func ReceiveWsMsgPassword(wsConn *websocket.Conn, logBuff *bytes.Buffer) string + func ReceiveWsMsgUser(wsConn *websocket.Conn, logBuff *bytes.Buffer) string + func WsReaderCopy(reader *websocket.Conn, writer io.Writer) + func WsWriterCopy(reader io.Reader, writer *websocket.Conn) + type SshConn struct + ComboOutput *wsBufferWriter + Session *ssh.Session + StdinPipe io.WriteCloser + func NewSshConn(cols, rows int, sshClient *ssh.Client) (*SshConn, error) + func (s *SshConn) Close() + func (ssConn *SshConn) Login(wsConn *websocket.Conn, logBuff *bytes.Buffer, exitCh chan bool) + func (ssConn *SshConn) ReceiveWsMsg(wsConn *websocket.Conn, logBuff *bytes.Buffer, exitCh chan bool) + func (ssConn *SshConn) SendComboOutput(wsConn *websocket.Conn, exitCh chan bool) + func (ssConn *SshConn) SessionWait(quitChan chan bool)