{"id":16906310,"url":"https://github.com/lonecloud/ssh-tools","last_synced_at":"2025-03-17T07:30:39.752Z","repository":{"id":56733152,"uuid":"156702040","full_name":"lonecloud/ssh-tools","owner":"lonecloud","description":":sob:没找到好用的shell工具:v:自己实现类似Xshell的部分功能","archived":false,"fork":false,"pushed_at":"2020-09-22T12:24:30.000Z","size":750,"stargazers_count":100,"open_issues_count":0,"forks_count":33,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-14T18:42:02.575Z","etag":null,"topics":["iterm2","mac","ssh","tools","xshell"],"latest_commit_sha":null,"homepage":"","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/lonecloud.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}},"created_at":"2018-11-08T12:14:59.000Z","updated_at":"2024-06-29T06:27:10.000Z","dependencies_parsed_at":"2022-08-16T00:50:15.167Z","dependency_job_id":null,"html_url":"https://github.com/lonecloud/ssh-tools","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2Fssh-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2Fssh-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2Fssh-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2Fssh-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lonecloud","download_url":"https://codeload.github.com/lonecloud/ssh-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221673716,"owners_count":16861682,"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":["iterm2","mac","ssh","tools","xshell"],"created_at":"2024-10-13T18:42:08.027Z","updated_at":"2024-10-27T12:12:09.818Z","avatar_url":"https://github.com/lonecloud.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssh-tools\n\n![](https://img.shields.io/badge/lanauage-%E4%B8%AD%E6%96%87-brightgreen.svg)[![](https://img.shields.io/badge/platform-linux/MacOS-brightgreen.svg)]()[![release](https://img.shields.io/badge/release-v0.1-orange.svg)](\u003chttps://github.com/lonecloud/ssh-tools/releases\u003e)[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n\u003e 一款为方便mac以及类unix使用ssh以及ssh跳板机的一个shell小工具\n\n使用说明：\n\n1. 克隆或者下载该项目\n\n```bash\ngit clone git@github.com:lonecloud/ssh-tools.git\n```\n\n2. 配置ssh.dat\n\n说明一下这几个的参数\n\n1. 机器类型范围值：0 直接连接机器，1. 跳板机  2.目标机\n2. ssh中的用户名以及IP(设置端口，非必填)： eg:username@ip [:port]\n3. 密码\n4. 备注，非必填选项\n\n```bash\n0 root@192.168.209.10:2315 123456 这个是直连机器\n1 root@192.168.209.11 123456 这个是跳板机器\n2 root@192.168.209.12:223 123456 这个是通过跳板后的目标机器\n0 root@192.168.209.13 123456\n```\n\n操作指引图片：\n\n直连：\n\n![直连操作](images/1541678825141.gif)\n\n跳板机：\n\n![跳板机](images/1541679098732.gif)\n\niterm2配置：\n\n⌘ + o 打开配置文件\n\n![iterm2](images/Xnip2019-07-12_00-47-14.jpg)\n\n设置好相应的信息即可\n\n⌘ + o 打开配置文件\n\n![iterm2](images/Xnip2019-07-12_00-53-08.jpg)\n\n双击配置文件即可打开！\n\n![iterm2](images/Xnip2019-07-12_01-13-51.jpg)\n\n\n\n\n## 未待完续，欢迎Fork and star\n\ngithub地址：https://github.com/lonecloud/ssh-tools\n\n码云地址：https://gitee.com/lonecloud/ssh-tools\n\n\n\n欢迎大家提出宝贵的意见以及建议，请大家在issue提出哈\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonecloud%2Fssh-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonecloud%2Fssh-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonecloud%2Fssh-tools/lists"}