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