{"id":28531079,"url":"https://github.com/lcahlander/exist-jsch","last_synced_at":"2025-07-07T09:30:42.181Z","repository":{"id":70628344,"uuid":"244666201","full_name":"lcahlander/exist-jsch","owner":"lcahlander","description":"XQuery function wrapper around Jsch","archived":false,"fork":false,"pushed_at":"2024-05-01T21:27:29.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T14:54:32.658Z","etag":null,"topics":["exist-db","jsch","ssh-tunnel","xquery"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lcahlander.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":"2020-03-03T15:03:20.000Z","updated_at":"2024-05-01T21:27:26.000Z","dependencies_parsed_at":"2023-03-11T08:52:51.381Z","dependency_job_id":null,"html_url":"https://github.com/lcahlander/exist-jsch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lcahlander/exist-jsch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcahlander%2Fexist-jsch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcahlander%2Fexist-jsch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcahlander%2Fexist-jsch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcahlander%2Fexist-jsch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lcahlander","download_url":"https://codeload.github.com/lcahlander/exist-jsch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcahlander%2Fexist-jsch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264050913,"owners_count":23549764,"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":["exist-db","jsch","ssh-tunnel","xquery"],"created_at":"2025-06-09T14:38:08.397Z","updated_at":"2025-07-07T09:30:42.175Z","avatar_url":"https://github.com/lcahlander.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH Library for eXist-db\n\nThis library is a wrapper around the JSch library.\n\nThere are two functions defined.  One is to establish an SSH session and the other is to setup port forwarding once the session is established.\n\n\n```xquery\nxquery version \"3.1\";\n\nimport module namespace ssh = \"https://exist-db.org/exist-db/ns/app/jsch\";\n\nssh:get-session(\"10.211.55.15\", \"parallels\", \"xxxxxxxx\")\n```\n\nThis returns an xs:long that is a handle to the session.  That session handle is used by the `forward-port` function. \n\n```xquery\nxquery version \"3.1\";\n\nimport module namespace ssh = \"https://exist-db.org/exist-db/ns/app/jsch\";\n\nlet $session := ssh:get-session(\"10.211.55.15\", \"parallels\", \"xxxxxxxx\")\n\nreturn ssh:forward-port($session, 5656, \"secure.example.com\", 3306)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcahlander%2Fexist-jsch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flcahlander%2Fexist-jsch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcahlander%2Fexist-jsch/lists"}