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

package ssh

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

Index

Package Files

ssh.go ssh_graceful.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.

func Unused Uses

func Unused()

Unused informs our cleanup routine that we will not be using a ssh port

Package ssh imports 19 packages (graph) and is imported by 5 packages. Updated 2019-11-16. Refresh now. Tools for package owners.