Lines Matching defs:server
69 type server struct { struct
70 t *testing.T
71 cleanup func() // executed during Shutdown
72 configfile string
73 cmd *exec.Cmd
74 output bytes.Buffer // holds stderr from sshd process
76 testUser string // test username for sshd
77 testPasswd string // test password for sshd
78 sshdTestPwSo string // dynamic library to inject a custom password into sshd
81 clientConn net.Conn
180 func (s *server) TryDial(config *ssh.ClientConfig) (*ssh.Client, error) {
186 func (s *server) TryDialWithAddr(config *ssh.ClientConfig, addr string) (*ssh.Client, error) {
233 func (s *server) Dial(config *ssh.ClientConfig) *ssh.Client {
243 func (s *server) Shutdown() {
282 func (s *server) setTestPassword(user, passwd string) error {