def _set_fabric_env(host, port, user, key_filename):
    env.host_string = env.host = "%s:%s" % (host, port)
    env.user = user
    env.key_filename = key_filename
    env.disable_known_hosts = True
    env.abort_on_prompts = True
dataset/ETHPy150Open ronnix/fabtools/fabtools/tests/functional_tests/conftest.py/_set_fabric_env/original