{"id":21351763,"url":"https://github.com/serverfarmer/sm-inspect-routers","last_synced_at":"2025-03-16T04:41:12.374Z","repository":{"id":92623508,"uuid":"153898039","full_name":"serverfarmer/sm-inspect-routers","owner":"serverfarmer","description":"Tools for inspecting Cisco IOS and MikroTik RouterOS devices configuration.","archived":false,"fork":false,"pushed_at":"2021-11-28T10:37:58.000Z","size":4623,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T17:13:29.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://serverfarmer.org/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serverfarmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-20T11:20:35.000Z","updated_at":"2021-11-28T10:38:00.000Z","dependencies_parsed_at":"2023-08-21T19:15:12.342Z","dependency_job_id":null,"html_url":"https://github.com/serverfarmer/sm-inspect-routers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverfarmer%2Fsm-inspect-routers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverfarmer%2Fsm-inspect-routers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverfarmer%2Fsm-inspect-routers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverfarmer%2Fsm-inspect-routers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serverfarmer","download_url":"https://codeload.github.com/serverfarmer/sm-inspect-routers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826783,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T03:11:00.943Z","updated_at":"2025-03-16T04:41:12.353Z","avatar_url":"https://github.com/serverfarmer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Overview\n\n`sm-inspect-routers` management extension provides tools for inspecting device configuration of devices:\n\n- Cisco IOS\n- MikroTik RouterOS\n- Ubiquiti UniFi Security Gateway\n\n#### Setting up passwordless ssh authentication on router\n\n##### Cisco IOS:\n\nhttps://supportforums.cisco.com/document/110946/ssh-using-public-key-authentication-ios-and-big-outputs\n\n##### MikroTik RouterOS:\n\nhttp://fajne.it/automatyzacja-backupu-routera-mikrotik.html - in polish language, short version below:\n\nFirst, you need to generate ssh DSA (not RSA) key pair and install public key on all routers you plan to connect to.\n\n```\nssh-keygen -t dsa -f ~/.serverfarmer/ssh/id_device_mikrotik\n```\n\nNow, you have 2 files:\n\n`~/.serverfarmer/ssh/id_device_mikrotik` is the private key, and you should protect it before any unauthorized access\n\n`~/.serverfarmer/ssh/id_device_mikrotik.pub` is the public key, and you should install it on your routers:\n\n```\nscp -P 10022 ~/.serverfarmer/ssh/id_device_mikrotik.pub admin@router.yourdomain.com:\n```\n\nThen log in to your router using ssh (authenticating with password for the last time), and import the key to your user:\n\n```\nssh -p 10022 admin@router.yourdomain.com\n[admin@router] \u003e user ssh-keys import public-key-file=id_device_mikrotik.pub user=admin\n```\n\n##### Ubiquiti UniFi Security Gateway:\n\nGo to Settings page in UniFi control panel, Device Authentication section in the default tab:\n\n- enable ssh access\n- change user name to \"admin\" (default is probably \"Admin\")\n- add your ssh RSA public key\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverfarmer%2Fsm-inspect-routers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserverfarmer%2Fsm-inspect-routers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverfarmer%2Fsm-inspect-routers/lists"}