ssh

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package ssh provides an SSH server for serving FluffyUI applications remotely.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr        string   // Listen address (default ":2222")
	HostKeyPath string   // Path to host key file (auto-generated if empty)
	NoAuth      bool     // Allow any connection (for development)
	Password    string   // Password authentication (if set)
	Command     []string // Command to run for each session
}

Config configures the SSH server.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is an SSH server that launches FluffyUI apps for each connection.

func New

func New(cfg Config) (*Server, error)

New creates a new SSH server with the given config.

func (*Server) Close

func (s *Server) Close() error

Close stops the server.

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

ListenAndServe starts the SSH server.

Jump to

Keyboard shortcuts

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