If you forget it, you can instruct Puttygen to open your private key file rather than generating a new key pair and it will tell you your public key. Copy the public key to the clipboard and save the private key somewhere on your computer. This can be done through the "Puttygen" utility if you're using either Putty or WinSCP as clients. To enable it, first you should generate a Public/Private key pair on your desktop machine.
#DD WRT SUPERCHANNEL ACTIVATION KEY PASSWORD#
Another plus.if you use this method instead of password authentication, no one will be able to crack away at your router trying to guess the password! It functions similar to HTTPS, as all transmissions are encrypted with a key that only the client and server will have. Public key authentication is one of the most secure methods of logging into SSH. Have to be careful that you don't get any line breaks (ie it is one Long continuous line). It is worth pointing out ssh keys are quite long strings of characters so if you paste them in you You can also manually edit /tmp/root/.ssh/authorized_keys and add keys (although these willĭisappear on a reboot unless you have a startup script altering them). Nvram set sshd_authorized_keys=key1 key2 ke圓 etc If you want to use user/password to login using SSH use user "root" with the password you set in the webinterfaceĪctually you can manually set (via telnet or ssh) the sshd_authorized_keys nvram variable. Multiple keys can be entered by placing them on separate lines. The DD-WRT firmware can use user/pass logon or only allows connections from clients whose public keys are manually entered via the web interface. Private keys are never exchanged, and are used to decrypt the information encrypted with the associated public key. Your client encrypts information to the server using the servers public key and the server encrypts information sent to you using your public key. For the latter to work, a small public key is given to the server and the server gives your client its public key. SSH operates just as telnet with a user/password combination or on a Public/Private key infastructure.
Unless changed, everything SSH operates on port 22. It can also be used for creating secure tunnels, somewhat akin to Virtual Private Networks, and for use as a network file system ( Sshfs). SSH, or Secure Shell, is an encrypted protocol and associated program intended to replace telnet. When asked for the password, enter your router's password (default "admin").When asked for the username, enter root (even if you changed username in web interface).192.168.1.1 so in the command prompt, this would look like:
#DD WRT SUPERCHANNEL ACTIVATION KEY INSTALL#
Open the command prompt and type "telnet" (On Windows vista/7 you will need to install it from "programs and features").2.2.3 Automatic Login (for shell scripts).