def METHOD_NAME(dut, mode='create', path=r'/home/admin/.ssh/'):
    """
    To generate the SSH keys to DUT
    Author : Prudvi Mangadu (prudvi.mangadu@broadcom.com)
    :param dut:
    :param mode: create | destroy
    :param path:
    :return:
    """
    st.banner(" Generate SSH keys to DUT - Mode={}".format(mode))
    if mode == 'create':
        cmd_list = ['mkdir {}', 'touch {}authorized_keys', 'chmod 0700 {}', 'chmod 0600 {}authorized_keys',
                    "echo -e 'y\n' | ssh-keygen -o -b 4096 -t rsa -f ~/.ssh/id_rsa -N ''", 'ls -lrt {}']
    else:
        cmd_list = ['sudo rm -rf {}', 'ls -lrt {}']
    for each_cmd in cmd_list:
        st.show(dut, each_cmd.format(path), skip_tmpl=True, skip_error_check=True)