12a-WIN10 Winbox & SSH public key for Mikrotik, ignore

Опубликовано: 27 Август 2026
на канале: FixitMyWay
1,595
12

Not needed @ 6:04 - 6:49. This section of the router is for router generated keys only and not applicable to ssh generated keys. See lesson 13 for corrections. See lesson 13 for correction. Linux users see next video 12b.
Demonstrates how to install ssh public key to Mikrotik on a Windows machine.
1. Get and install Putty @putty.org
2. Find Putty Folder in apps menu, open the folder and run PuTTYgen
to make keys:
3. save private key
4. create txt file for public key
5. copy and paste public key data
6. rename public key extension to .pub
7. copy public key to router using winbox
8. associate key with username using winbox
9. change key size under ssh using winbox
10. test ssh key opertion.
11. Backup the router with only www-ssl and ssh service enabled
12. Before placing router in-service, disable all services except ssh
using winbox then exit winbox.
13. To re-enter you router configuration, use PuTTY with your private key and then enable "winbox" service (to make your changes using winbox) after the following terminal command enables winbox:

/ip/service set winbox disabled=no

When finished with changes repeat steps 11-12.

14. If you loose your private key, reboot router to factory settings.
Then login with winbox and restore backup, then reboot router again.
15. Log in with winbox to fix your key problem, then repeat steps 11- 12.

If not using winbox, but instead webfig, then change all above "winbox" references with "webfig" and change all above "winbox service" references to "www-ssl service"