export def get_ssh_remote [ swarm: table node_index: int, ] nothing -> string { let node = $swarm | get $node_index let ip = ($node.ip_port | parse "{ip}:{port}" | into record | get ip) $"($node.user)@($ip)" }