Next, while still connected to the router, add read, write and execute permissions for the /etc/dropbear directory and read, write permissions for the /etc/dropbear/authorized_keys file:Īt this point, the configuration is complete. To save and close the editor, press " Esc" on your keyboard, type :x and press " Enter". To paste something, right-click where you want the text to appear. To start editing, press " I" on your keyboard. This will open a text editing environment. When you login, paste the contents of the key file to the /etc/dropbear/authorized_keys file. This way the next time you wish to login you won't have to set everything up over again. Additionally you can enter a name for this configuration and click "Save". Go back to the "Session" section and enter your router's IP address, select the SSH port ( 22 by default) and SSH connection type. ![]() In the "Category" section on the left go to Connection → Data and set "Auto-login username" to root in Connection → SSH → Auth click browse and select you key file: Open PuTTY and make the following changes: Then copy the contents of the key file and save your key: Move your mouse pointer around the grey are to generate the key until the progress bar fills up: A progress bar will appear at the top of the window. ![]() It will be installed along with PuTTY automatically, so just search for PuTTYgen in your computer, launch it and click "Generate". For this we'll use PuTTYgen - a key generator for PuTTY on Windows. First, we'll need to generate the rsa key.
0 Comments
Leave a Reply. |