{"id":19948117,"url":"https://github.com/breeze0806/ssh-mgr","last_synced_at":"2026-05-13T00:31:51.711Z","repository":{"id":57696315,"uuid":"421003815","full_name":"Breeze0806/ssh-mgr","owner":"Breeze0806","description":"ssh-mgr是一个 管理putty , winscp 或者filezilla的ssh连接的工具","archived":false,"fork":false,"pushed_at":"2023-08-14T13:21:48.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T05:42:09.770Z","etag":null,"topics":["filezilla","putty","sftp","ssh","winscp"],"latest_commit_sha":null,"homepage":"","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/Breeze0806.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":"2021-10-25T11:55:19.000Z","updated_at":"2023-05-28T15:07:16.000Z","dependencies_parsed_at":"2024-06-20T17:17:53.036Z","dependency_job_id":"0c7ce094-304e-4201-96d2-9fe4d044c0ba","html_url":"https://github.com/Breeze0806/ssh-mgr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Breeze0806%2Fssh-mgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Breeze0806%2Fssh-mgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Breeze0806%2Fssh-mgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Breeze0806%2Fssh-mgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Breeze0806","download_url":"https://codeload.github.com/Breeze0806/ssh-mgr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241375316,"owners_count":19952693,"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":["filezilla","putty","sftp","ssh","winscp"],"created_at":"2024-11-13T00:39:25.397Z","updated_at":"2026-05-13T00:31:51.652Z","avatar_url":"https://github.com/Breeze0806.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssh连接管理器\nssh连接管理器（ssh-mgr）是一个管理[putty](https://putty.org/) , [winscp](https://winscp.net/eng/index.php) 或者[filezilla](https://www.filezilla.cn/)的连接信息的工具\n\n## 优点\n\n1. 使用[putty](https://putty.org/) 进行ssh登录任一支持ssh的机器\n2. 使用[winscp](https://winscp.net/eng/index.php) 或者[filezilla](https://www.filezilla.cn/)进行上传或下载文件\n3. 使用命令行智能交互界面\n4. 能够管理[putty](https://putty.org/) , [winscp](https://winscp.net/eng/index.php) 或者[filezilla](https://www.filezilla.cn/)的连接信息\n5. 使用[putty](https://putty.org/) , [winscp](https://winscp.net/eng/index.php) 或者[filezilla](https://www.filezilla.cn/)进行免密登录\n6. 使用**国密**加密保存用户名和密码的文件，密匙为登录密码\n\n## 编译和安装\n\n下载代码并编译：\n\n```bash\ncd cmd/mgr\ngo build\n```\n\n或者下载[ssh-mgr的windows64位发布版本](https://github.com/Breeze0806/ssh-mgr/releases/tag/v1.0.0)，注意其最小版本为win7或者win2012\n\n## 使用方式\n\n### 配置\n\n```json\n{\n    \"ssh\": \"C:\\\\Program Files\\\\PuTTY\\\\putty.exe\",\n    \"sftp\": \"C:\\\\Program Files (x86)\\\\WinSCP\\\\WinSCP.exe\",\n    \"source\":\"C:\\\\Linux\\\\ssh\",\n    \"isEncrypted\":true,\n    \"password\":\"C:\\\\Linux\\\\passwd\"\n}\n```\n\n- ssh 用于配置putty程序的路径\n- sftp 用于配置 winscp 或者filezilla程序的路径\n- source 用于配置存储ssh连接信息的路径\n- isEncrypted 是否加密ssh连接信息的路径\n- password 用于存储密码信息，用于加密登录\n\n### 使用方法\n\n```\nUsage of mgr:\n  -c string\n        config file (default \"config.json\")\n```\n\n### 快速开始\n\n- 在isEncrypted为ture时，开始需要输入密码，如果之前没有输入密码则会输入两次确认密码\n- 使用下面的命令就可以进行ssh连接或者sftp连接，group是将ssh连接分组起的名称，而name是sh连接的别名\n\n```bash\nssh group name      #启动putty进行ssh连接\nsftp group name     #启动 winscp 或者filezilla进行sftp连接\nadd group name      #新增一个ssh连接信息\nshowAddr address    #显示ip:port相关的ssh连接信息\nshow group name     #显示对应分组1的ssh连接信息\nexit                #退出程序\n```\n\n- 在打印对应的命令时会有对应的提醒，如下所示:\n\n```bash\n\u003e ss\n      ssh  ssh group name\n```\n\n- 另外，它提示出对应的提醒，可以使用tab键后上下选择\n\n```\n\u003e ssh t\n       test   test\n       test1  test1\n```\n\n- 新增ssh连接信息，输入add group name后\n\n```bash\n#没有端口会默认为22，如果输入1.1.1.1:1234\nplease input ssh address:1.1.1.1 \nplease input ssh user:root\nplease input ssh password:*******\n```\n\n### 注意点\n\n本工具虽然加密相关文件，但是在使用时，windows的任务管理器仍然会泄露shh的用户名和密码，为此在使用时确保只有一人在使用电脑。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreeze0806%2Fssh-mgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreeze0806%2Fssh-mgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreeze0806%2Fssh-mgr/lists"}