Versions in this module Expand all Collapse all v0 v0.0.3 May 6, 2015 v0.0.2 May 6, 2015 Changes in this version + var SamplePrivKey = []byte(...) + func PrivateKey(pemData []byte) func(*Server) error + func Verbose(s *Server) error + type KnownHost struct + Hash []byte + Hostnames []string + Key ssh.PublicKey + Salt []byte + func (h *KnownHost) Match(hostname string) bool + type KnownHosts []*KnownHost + func ParseKnownHosts(r io.Reader) (KnownHosts, error) + func ReadKnownHostsFile(path string) (KnownHosts, error) + func ReadStandardKnownHostsFiles() (KnownHosts, error) + func (khs KnownHosts) Lookup(hostname string) (hostKeys []ssh.PublicKey, found bool) + type Server struct + Dir string + GitURL string + SSH ssh.ServerConfig + Shell string + func NewServer(shell, dir string, opt ...func(*Server) error) (*Server, error) + func (s *Server) Close() error + func (s *Server) Start() error