{"id":24555861,"url":"https://github.com/cyian-1756/gluassh","last_synced_at":"2026-05-16T23:15:39.456Z","repository":{"id":99872706,"uuid":"226641083","full_name":"cyian-1756/gluassh","owner":"cyian-1756","description":"A simple ssh lib for gopher-lua ","archived":false,"fork":false,"pushed_at":"2019-12-11T02:02:15.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T04:33:17.993Z","etag":null,"topics":["gopher-lua","lua","ssh"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyian-1756.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-08T09:08:48.000Z","updated_at":"2021-06-15T10:16:02.000Z","dependencies_parsed_at":"2023-05-10T20:30:31.430Z","dependency_job_id":null,"html_url":"https://github.com/cyian-1756/gluassh","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyian-1756%2Fgluassh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyian-1756%2Fgluassh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyian-1756%2Fgluassh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyian-1756%2Fgluassh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyian-1756","download_url":"https://codeload.github.com/cyian-1756/gluassh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910713,"owners_count":20367538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gopher-lua","lua","ssh"],"created_at":"2025-01-23T04:32:53.314Z","updated_at":"2026-05-16T23:15:34.416Z","avatar_url":"https://github.com/cyian-1756.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gluassh\nA simple ssh lib for gopher-lua based on golang.org/x/crypto/ssh\n\n## Usage\n\nImport the lib `import \"github.com/cyian-1756/gluassh\"`\n\nLoad it with `L.PreloadModule(\"ssh\", gluassh.Loader)`\n\nRequire the lib in lua\n\n`ssh = require(\"ssh\")`\n\nGet a shell\n\n`local shell, err = ssh.login(USERNAME, PASSWORD, HOST, PORT, InsecureIgnoreHostKey)`\n\nIf InsecureIgnoreHostKey is true then the host key is ignored\n\nSend a command \n\n`local r, err = ssh.sendCommand(shell, \"whoami\")`\n\nIf you just want to connect and run a one liner you can use the helper func connectAndCommand\n\n`ssh.connectAndCommand(USERNAME, PASSWORD, HOST, PORT, InsecureIgnoreHostKey, COMMAND)`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyian-1756%2Fgluassh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyian-1756%2Fgluassh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyian-1756%2Fgluassh/lists"}