[RDKM] Enable telnet & SSH on Lan

1. 先找到這個檔 /etc/utopia/utopia_init.sh

    vi /etc/utopia/utopia_init.sh


2. Find #disable telnet / ssh ports

    把Lan端過濾掉port 22&23的部份註解起來


3. Find #echo "[utopia][init] Starting telnetd"

    把以下整段的註解打開,這樣應該就會有telnetd


4. 加入以下 開啟SSH

    if [ -f "/usr/sbin/dropbear" ]; then

        /usr/bin/killall dropbear

        /usr/sbin/dropbear -R;/usr/sbin/dropbear -r /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -b /etc/sshbanner.txt -E -P /var/run/dropbear.pid &

    fi


5. syscfg 中是沒有 mgmt_lan_telnetaccess 的
    所以 syscfg set mgmt_lan_telnetaccess 1
    syscfg commit

6. sync; sync; reboot

留言

這個網誌中的熱門文章

Ubuntu 64bit 32bit 的問題

[RDKM] Set up Env. in Windows10 WSL