{"id":16963982,"url":"https://github.com/hellt/gossh-sros","last_synced_at":"2025-03-21T16:27:38.137Z","repository":{"id":74018123,"uuid":"312373458","full_name":"hellt/gossh-sros","owner":"hellt","description":"A basic example on using Go SSH package to execute commands on Nokia SR OS routers","archived":false,"fork":false,"pushed_at":"2020-11-12T23:03:21.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-02T01:11:55.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-11-12T19:17:18.000Z","updated_at":"2024-06-19T09:13:45.692Z","dependencies_parsed_at":"2023-09-24T01:52:48.795Z","dependency_job_id":null,"html_url":"https://github.com/hellt/gossh-sros","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/hellt%2Fgossh-sros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellt%2Fgossh-sros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellt%2Fgossh-sros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellt%2Fgossh-sros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellt","download_url":"https://codeload.github.com/hellt/gossh-sros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244828211,"owners_count":20517077,"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-10-13T23:26:49.021Z","updated_at":"2025-03-21T16:27:38.117Z","avatar_url":"https://github.com/hellt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"A basic example that demonstrates how to use Go [golang.org/x/crypto/ssh](https://pkg.go.dev/golang.org/x/crypto@v0.0.0-20201112155050-0c6587e931a9/ssh) package to remotely execute commands on Nokia SR OS routers.\n\nNokia SR OS requires a login shell to be spawned and bytes written to Stdin.\n\nBased on https://stackoverflow.com/questions/48468318/golang-filtering-stdout-of-active-ssh-session\n\n## Example output\n\n```\n❯ go run main.go        \nConnecting to  10.2.0.11:22\n\n SR OS Software\n Copyright (c) Nokia 2020.  All Rights Reserved.\n \n Trademarks\n \n Nokia and the Nokia logo are registered trademarks of Nokia. All other\n trademarks are the property of their respective owners.\n \n IMPORTANT: READ CAREFULLY\n \n The SR OS Software (the \"Software\") is proprietary to Nokia and is subject\n to and governed by the terms and conditions of the End User License\n Agreement accompanying the product, made available at the time of your order,\n or posted on the Nokia website (collectively, the \"EULA\").  As set forth\n more fully in the EULA, use of the Software is strictly limited to your \n internal use.  Downloading, installing, or using the Software constitutes\n acceptance of the EULA and you are binding yourself and the business entity\n that you represent to the EULA.  If you do not agree to all of the terms of\n the EULA, then Nokia is unwilling to license the Software to you and (a) you\n may not download, install or use the Software, and (b) you may return the\n Software as more fully set forth in the EULA.\n \n This product contains cryptographic features and is subject to United States \n and local country laws governing import, export, transfer and use. Delivery \n of Nokia cryptographic products does not imply third-party authority to \n import, export, distribute or use encryption.\n \n If you require further assistance please contact us by sending an email\n to support@nokia.com.\n\nA:vSIM# show version \nTiMOS-B-19.10.R3 both/x86_64 Nokia 7750 SR Copyright (c) 2000-2020 Nokia.\nAll rights reserved. All use subject to applicable license agreements.\nBuilt on Wed Feb 12 19:18:39 PST 2020 by builder in /builds/c/1910B/R3/panos/main\nA:vSIM# logout \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellt%2Fgossh-sros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellt%2Fgossh-sros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellt%2Fgossh-sros/lists"}