':type core_ci: AnsibleCoreCI'

def __init__(self, core_ci):

    self.core_ci = core_ci
    self.ssh_args = ['-i', self.core_ci.ssh_key.key]
    ssh_options = dict(BatchMode='yes', StrictHostKeyChecking='no', UserKnownHostsFile='/dev/null', ServerAliveInterval=15, ServerAliveCountMax=4)
    for ssh_option in sorted(ssh_options):
        self.ssh_args += ['-o', ('%s=%s' % (ssh_option, ssh_options[ssh_option]))]
    if (self.core_ci.platform == 'freebsd'):
        self.become = ['su', '-l', 'root', '-c']
    elif (self.core_ci.platform == 'osx'):
        self.become = ['sudo', '-in', 'PATH=/usr/local/bin:$PATH']
    elif (self.core_ci.platform == 'rhel'):
        self.become = ['sudo', '-in', 'bash', '-c']
