{"id":13490072,"url":"https://github.com/Ara4Sh/sshconfig","last_synced_at":"2025-03-28T05:31:48.126Z","repository":{"id":50716627,"uuid":"48685185","full_name":"Ara4Sh/sshconfig","owner":"Ara4Sh","description":"Minimal command to Add/Remove/list ssh aliases in $HOME/.ssh/config","archived":false,"fork":false,"pushed_at":"2024-07-04T19:33:05.000Z","size":126,"stargazers_count":104,"open_issues_count":0,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-31T03:35:29.711Z","etag":null,"topics":["identitykey","ssh","sshconfig"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Ara4Sh.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","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":"2015-12-28T09:34:15.000Z","updated_at":"2024-07-06T00:13:23.000Z","dependencies_parsed_at":"2024-01-18T22:39:48.585Z","dependency_job_id":"49a0e3fa-e599-4d29-a020-2cb26aadac5d","html_url":"https://github.com/Ara4Sh/sshconfig","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ara4Sh%2Fsshconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ara4Sh%2Fsshconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ara4Sh%2Fsshconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ara4Sh%2Fsshconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ara4Sh","download_url":"https://codeload.github.com/Ara4Sh/sshconfig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978200,"owners_count":20703675,"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":["identitykey","ssh","sshconfig"],"created_at":"2024-07-31T19:00:40.252Z","updated_at":"2025-03-28T05:31:47.786Z","avatar_url":"https://github.com/Ara4Sh.png","language":"Shell","funding_links":[],"categories":["tools"],"sub_categories":[],"readme":"# sshconfig : ```ssc```\nMinimal command to Add/Remove/list ssh aliases in $HOME/.ssh/config\n\nto contribute please fork add your code and make a pull request. feel free to add something new and helpful\n\n# Installation\nSSC is available on Linux , BSD and OSX\n\n```\ncurl -L http://git.io/sshconfig | bash \n```\n \n# Usage\n\n#### Add a Host(Alias) :\n```\nssc add NAME USERNAME HOSTNAME [IdentityKey] [PORT]\nssc add NAME USERNAME HOSTNAME [PORT]\nscc add NAME USERNAME HOSTNAME [IdentityKey]\n```\nPORT and Identitykey are optional , PORT is 22 by default and Identitykey is your ssh private key generating by ssh-keygen in $HOME/.ssh .\n\nExample : \n``` \nssc add elastix root 192.168.0.100\nssc add nginx root 192.168.0.101 /home/arash/.ssh/arash.pem\nssc add aws-haproxy root 192.168.0.102 /home/arash/.ssh/arash2.pem 2223\n```\n\n#### Remove a Host(Alias) :\n```\nsshconfig remove NAME\n```\nExample :\n```\nssc remove nginx\nssc remove aws-haproxy\n```\n#### List Existing Hosts(Aliases) :\nList all Hosts(Aliases) :\n```\nssc list\n```\n\nShow information for a Host(Alias) :\n\n```\nssc list HOST\n```\nExample:\n```\nssc list aws-haproxy\n\u003e\u003e Host: aws-haproxy  HostName: 192.168.0.102  User: root  Port: 22   IdentityKey: /home/arash/.ssh/arash.pem\n```\n#### Search for a Host\n```\nssc search haproxy\n\u003e\u003e Host: haproxy-pars Hostname: 192.168.0.151 User: arash Port: 22 \n\u003e\u003e Host: haproxy-afra Hostname: 192.168.1.151 User: arash Port: 22 \n\u003e\u003e Host: aws-haproxy Hostname: 192.168.1.102 User: root Port: 22 \n```\n#### Connect to a Host \nYou can connect to a host if exist: \n```\nssc aws-lsb\n```\n#### Edit a Host\nExperimental feature \n```\nssc edit nginx-front\n```\n\n#### Version and information \n\n```\nssc version\n```\n\n# Change log\nVersion 1.8:\n- New installer file \n- Edit option included (testing)\n- pretty output\n \n# To do:\nShare config with other Administrators\n\n# ScreenShot\n![alt scrsht](https://raw.githubusercontent.com/Ara4Sh/sshconfig/master/screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAra4Sh%2Fsshconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAra4Sh%2Fsshconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAra4Sh%2Fsshconfig/lists"}