This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ssh_and_scp [2015/10/22 12:35] admin [Copy using Linux SCP] |
ssh_and_scp [2018/05/24 09:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== SSH and SCP ====== | ====== SSH and SCP ====== | ||
| - | This article describes basic usage of SSH and SCP in DD-WRT NXT | + | This article describes basic usage of SSH and SCP in DD-WRT NXT. |
| + | |||
| + | For all instructions on this page, you have to enable SSH first! | ||
| ===== Overview ===== | ===== Overview ===== | ||
| Line 12: | Line 14: | ||
| Login the WEB-Interface, then navigate to: | Login the WEB-Interface, then navigate to: | ||
| - | * Services | + | * Network Services |
| * SSH | * SSH | ||
| - | In the upper context Box: | + | Under Remote Configuration: |
| * set SSH Server to Enabled | * set SSH Server to Enabled | ||
| - | * hit the Submit button | + | * change the SSH Port to your needs (default is 22) |
| - | In the lower context Box: | + | Under "Set the root password": |
| * type in your new SSH password at "new Password" | * type in your new SSH password at "new Password" | ||
| - | * retype the SSH password | + | * retype the SSH password at "Retype Password" |
| - | * hit the Submit button | + | |
| - | {{:documentation:general:vpn:dropbear-enable-ssh.png?direct|}} | + | == hit the Apply all Changes button in the upper right corner == |
| + | |||
| + | {{:documentation:general:vpn:dropbear-enable-ssh.png?direct|}} | ||
| ==== Related topics ==== | ==== Related topics ==== | ||
| - | * [[documentation:general:vpn:vpn_provider|VPN Service Provider]] | + | * [[documentation:general:vpn:vpn_service_provider|VPN Service Provider]] |
| | | ||
| Line 37: | Line 40: | ||
| For using SSH in Microsofts Windows, you have to download [[http://www.putty.org/|Putty]] or another SSH client application of choice. | 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|}} | + | {{:2015-10-22-132555_450x409_scrot.png?direct&500|}} |
| * Enter the IP-Address of your router in the Host Name field | * Enter the IP-Address of your router in the Host Name field | ||
| Line 43: | Line 46: | ||
| * Hit Open at the very bottom to connect | * Hit Open at the very bottom to connect | ||
| - | Putty will once ask you to verify the SSH Servers fingerprint, you can answer with yes. | + | Putty will once ask you to verify the SSH Servers fingerprint, you can answer with either Yes or No. |
| - | {{:putty_cert.png?direct&300|}} | + | {{:putty_cert.png?direct&500|}} |
| You will be prompted for login informations. | You will be prompted for login informations. | ||
| - | {{:putty_login_prompt.png?direct&200|}} | + | {{:putty_login_prompt.png?direct&500|}} |
| Username will always be 'root' | Username will always be 'root' | ||
| Line 60: | Line 63: | ||
| Starting: | Starting: | ||
| - | {{:winscplogin.png?direct&400|}} | + | {{:winscplogin.png?direct&500|}} |
| On the right hand session menu, select SCP as File protocol, | On the right hand session menu, select SCP as File protocol, | ||
| Line 108: | Line 111: | ||
| ==== Copy using Linux SCP ==== | ==== Copy using Linux SCP ==== | ||
| - | Where "vpnuserpass.conf" is a file, in the currenct working directory, | + | Where "vpnuserpass.conf" is a file, in the current working directory, |
| "root@192.168.11.1" are the connection informations | "root@192.168.11.1" are the connection informations | ||
| Line 147: | Line 150: | ||
| ==== Copy using MacOS SCP ==== | ==== Copy using MacOS SCP ==== | ||
| + | |||
| + | Where "vpnuserpass.conf" is a file, in the current working directory, | ||
| + | |||
| + | "root@192.168.11.1" are the connection informations | ||
| + | |||
| + | ":/etc" is the place on the remote system (the router) | ||
| + | |||
| <code> | <code> | ||
| Line 152: | Line 162: | ||
| </code> | </code> | ||
| + | the resulting file on the router will be placed as: | ||
| + | /etc/vpnuserpass.conf | ||
| ==== UCI Config System ==== | ==== UCI Config System ==== | ||