Versions in this module Expand all Collapse all v4 v4.22.0 Oct 23, 2023 Changes in this version + func CredentialsDocs() docs.FieldSpecs + func HostCallback(s *Server) ssh.HostKeyCallback + type Credentials struct + Password string + PrivateKeyFile string + PrivateKeyPass string + Username string + func (c Credentials) GetClient(fs ifs.FS, address string) (*sftp.Client, error) + type HostAuthorityCallback func(ssh.PublicKey, string) bool + func HostAuthCallback() HostAuthorityCallback + type IsRevokedCallback func(cert *ssh.Certificate) bool + func CertCallback(s *Server) IsRevokedCallback + type Server struct + Address string + Banner string + Cert ssh.Certificate + Host string + Hostname string + IsSSH bool + Port string + PublicKey ssh.PublicKey