This is an old revision of the document!
====== SSH and SCP ====== This article describes basic usage of SSH and SCP in DD-WRT NXT ===== Overview ===== ==== Level of difficulty === Medium ==== Enabling SSH access ==== Login the WEB-Interface, then navigate to: * Services * SSH In the upper context Box: * set SSH Server to Enabled * hit the Submit button In the lower context Box: * type in your new SSH password at "new Password" * retype the SSH password * hit the Submit button {{:documentation:general:vpn:dropbear-enable-ssh.png?direct|}} ==== Related topics ==== * [[documentation:general:vpn:vpn_provider|VPN Service Provider]] ===== Instructions ===== ==== Connecting using Windows ==== For using SSH in Microsofts Windows, you have to download [[http://www.putty.org/|Putty]] or another SSH client application of choice. {{:2015-10-22-132555_450x409_scrot.png?direct&300|}} * Enter the IP-Address of your router in the Host Name field * Select SSH as the Protocol * Hit Open at the very bottom to connect Putty will once ask you to verify the SSH Servers fingerprint, you can answer with yes. You will be prompted for login informations. {{:putty_login_prompt.png?direct&200|}} Username will always be 'root' The password can be specified in the Webinterface (Service>SSH) ==== Connecting using Linux ==== == Installing == * Install the OpenSSH package using your distributions package management system <code> #~ ssh root@192.168.11.1 Warning: Permanently added '192.168.11.1' (RSA) to the list of known hosts. root@192.168.11.1's password: BusyBox v1.23.2 (2015-10-16 10:56:34 CEST) built-in shell (ash) ____ ____ _ _ _ _____ _____ _____ __ __ _____ | \| \ __| | | | __ |_ _| | | | | |_ _| | | | | |__| | | | -| | | | | | |> < | | |____/|____/ |_____|__|__| |_| |_|___|__|__| |_| ---------------------------------------------------- root@dd-wrt-nxt:~# </code> ==== Connecting using MacOS ==== Apples MacOS comes with build in SSH Support. Search for "Terminal" using Spotlight or browsing the Applications menu. <code> #~ ssh root@192.168.11.1 Warning: Permanently added '192.168.11.1' (RSA) to the list of known hosts. root@192.168.11.1's password: BusyBox v1.23.2 (2015-10-16 10:56:34 CEST) built-in shell (ash) ____ ____ _ _ _ _____ _____ _____ __ __ _____ | \| \ __| | | | __ |_ _| | | | | |_ _| | | | | |__| | | | -| | | | | | |> < | | |____/|____/ |_____|__|__| |_| |_|___|__|__| |_| ---------------------------------------------------- root@dd-wrt-nxt:~# </code> ==== UCI Config System ==== * **Enable SSH** <code> uci show dropbear </code> * **Store changes** <code> uci commit dropbear </code> * **Apply changes** <code> /etc/init.d/dropbear restart </code> ==== UCI config files (native) ==== ===== Troubleshooting ===== Not available, yet