package
Version:
v0.0.0-...-23e27bb
Opens a new window with list of versions in this module.
Published: Jan 5, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ssh
Usage
local ssh = require("ssh")
session, err = ssh.auth{host = 'localhost', user = 'spigell', key = '/home/spigell/.ssh/keys/spigell.key'}
command = session:execute{command = "echo true"}
print(command.output)
Documentation
¶
Loader is the module loader function.
Preload adds ssh to the given Lua state's package.preload table. After it
has been preloaded, it can be loaded using require:
local ssh = require("ssh")
Source Files
¶
Click to show internal directories.
Click to hide internal directories.