gitea: code.gitea.io/gitea/modules/ssh Index | Files

package ssh

import "code.gitea.io/gitea/modules/ssh"

Index

Package Files

ssh.go

func GenKeyPair Uses

func GenKeyPair(keyPath string) error

GenKeyPair make a pair of public and private keys for SSH access. Public key is encoded in the format for inclusion in an OpenSSH authorized_keys file. Private Key generated is PEM encoded

func Listen Uses

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

Listen starts a SSH server listens on given port.

Package ssh imports 18 packages (graph) and is imported by 2 packages. Updated 2019-07-18. Refresh now. Tools for package owners.