MCPcopy Create free account
hub / github.com/bvcyber/RedWizard / create_ssh_config

Function create_ssh_config

tools/create-ssh-config.py:111–117  ·  view source on GitHub ↗

Create and print the SSH configuration

(hosts, codename)

Source from the content-addressed store, hash-verified

109 portforwards=host_vars["portforwards"])
110
111def create_ssh_config(hosts, codename):
112 """
113 Create and print the SSH configuration
114 """
115 for hostname in hosts:
116 host_vars = hosts[hostname]
117 print(create_host_string(hostname, host_vars, codename))
118
119def main():
120 """

Callers 1

mainFunction · 0.85

Calls 1

create_host_stringFunction · 0.85

Tested by

no test coverage detected