Documentation
¶
Index ¶
- Constants
- Variables
- func AuthorizedKey(key ssh.PublicKey) string
- func DefaultHostKey() (ssh.Signer, error)
- func ExecArgv(runner []string, command string) []string
- func HostKeyPath() (string, error)
- func LoadHostKey(path string) (ssh.Signer, error)
- func SFTPDefault(runner []string) bool
- func ShellFor(runner []string) []string
- type Config
- type Dialer
- type RefuseAll
- type Server
Constants ¶
View Source
const ( ServerVersion = "SSH-2.0-slicc" EvalSubsystem = "slicc-eval" SFTPSubsystem = "sftp" DefaultEvalQuiet = 500 * time.Millisecond )
Variables ¶
View Source
var ( ErrNoRunner = errors.New("slicc runs no commands on this machine: it was started without a runner") ErrRefused = fmt.Errorf("slicc: forwarding is not allowed from this machine: %w", os.ErrPermission) )
Functions ¶
func AuthorizedKey ¶
func DefaultHostKey ¶
func HostKeyPath ¶
func SFTPDefault ¶ added in v1.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.