From c29a14135736c2516bb5d951e6e97dc8143598db Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:45:26 -0600 Subject: changes --- pkgs/yossh/examples/test.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/yossh/examples/test.lua (limited to 'pkgs/yossh/examples/test.lua') diff --git a/pkgs/yossh/examples/test.lua b/pkgs/yossh/examples/test.lua new file mode 100644 index 0000000..a594305 --- /dev/null +++ b/pkgs/yossh/examples/test.lua @@ -0,0 +1,18 @@ +yoshi = dofile'yoshi.lua' + +yoshi.hosts["you"] = function() + return yoshi.ssh{ + HostName = "192.168.50.2", + DynamicForward = 7320, + Port = 27 + } +end + +yoshi.hosts["me"] = function() + return yoshi.ssh{ + HostName = "test.local", + ProxyJump = "jumper@you" + } +end + +yoshi.run(arg, {dry_run = true}) -- cgit v1.3.1