- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sshPasswordAuth (0.11 sec)
-
cmd/sftp-server_test.go
newSSHCon := newSSHConnMock("dillon=ldap") _, err := sshPasswordAuth(newSSHCon, []byte("dillon")) if err == nil || !errors.Is(err, errSFTPUserHasNoPolicies) { c.Fatalf("expected err(%s) but got (%s)", errSFTPUserHasNoPolicies, err) } newSSHCon = newSSHConnMock("dillon") _, err = sshPasswordAuth(newSSHCon, []byte("dillon")) if err == nil || !errors.Is(err, errNoSuchUser) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/sftp-server.go
} func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) { return authenticateSSHConnection(c, key, nil) } func sshPasswordAuth(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) { return authenticateSSHConnection(c, nil, pass) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0)