diff options
author | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
commit | b34fca8215bc053d1b94559fb5d07e8ab6f41579 (patch) | |
tree | 99a71c9a5feb6310568b37a1797598813a9c5a7f /c_exec.go | |
parent | fking good (diff) | |
download | hardflip-b34fca8215bc053d1b94559fb5d07e8ab6f41579.tar.gz hardflip-b34fca8215bc053d1b94559fb5d07e8ab6f41579.tar.bz2 hardflip-b34fca8215bc053d1b94559fb5d07e8ab6f41579.tar.xz hardflip-b34fca8215bc053d1b94559fb5d07e8ab6f41579.tar.zst hardflip-b34fca8215bc053d1b94559fb5d07e8ab6f41579.zip |
good ssh
Diffstat (limited to 'c_exec.go')
-rw-r--r-- | c_exec.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -71,6 +71,9 @@ func format_ssh(host *HostNode) []string { if len(host.Priv) > 0 { cmd_fmt = append(cmd_fmt, "-i", host.Priv) } + if len(host.Jump) > 0 { + cmd_fmt = append(cmd_fmt, "-J", host.Jump) + } if host.Port != 0 { cmd_fmt = append(cmd_fmt, "-p", strconv.Itoa(int(host.Port))) } |