Documentation ¶
Index ¶
- func AuthViaPassword(config *commons.Config) (bool, error)
- func AuthViaPublicKey(config *commons.Config) (bool, []string, error)
- func CreateSshDir(config *commons.Config) error
- func GetHomeCollectionPath(config *commons.Config, options []string) string
- func IsClientRejected(clientIP string, options []string) bool
- func IsKeyExpired(options []string) bool
- func MakeSFTPGoUser(config *commons.Config, sftpgoUsername string, mountPaths []types.MountPath) (*types.SFTPGoUser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthViaPassword ¶
AuthViaPassword authenticate a user via password
func AuthViaPublicKey ¶
AuthViaPublicKey authenticate a user via public key
func CreateSshDir ¶ added in v0.1.3
func GetHomeCollectionPath ¶
GetHomeCollectionPath returns home collection path
func IsClientRejected ¶
func IsKeyExpired ¶
func MakeSFTPGoUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.