ssh

package
v0.0.0-...-715c485 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfig = Config{
		SSH_PORT:           8722,
		HOST:               "0.0.0.0",
		GitBinPath:         "/usr/local/bin/git",
		SSH_SERVER_CIPHERS: []string{"aes128-ctr", "aes192-ctr", "aes256-ctr", "aes128-gcm@openssh.com", "arcfour256", "arcfour128"},
		SSH_SERVER_MACS:    []string{"hmac-sha2-256-etm@openssh.com", "hmac-sha2-256", "hmac-sha1"},
	}
)

Functions

func Listen

func Listen(host string, port int, ciphers, macs []string)

Types

type Config

type Config struct {
	HOST               string
	SSH_PORT           int
	SSH_SERVER_MACS    []string
	SSH_SERVER_CIPHERS []string

	GitBinPath  string
	ProjectRoot string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL