gitea: Index | Files

package ssh

import ""


Package Files


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-09-15. Refresh now. Tools for package owners.