{"id":16476499,"url":"https://github.com/poneding/ssher","last_synced_at":"2026-05-11T08:57:15.688Z","repository":{"id":235331914,"uuid":"790500088","full_name":"poneding/ssher","owner":"poneding","description":"ssher 是一款轻量的 SSH 连接管理工具，让你可以更方便的连接到你的服务器。","archived":false,"fork":false,"pushed_at":"2025-02-10T02:02:18.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T03:19:34.893Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poneding.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":"2024-04-23T01:52:46.000Z","updated_at":"2025-02-10T02:01:56.000Z","dependencies_parsed_at":"2024-06-19T11:25:22.765Z","dependency_job_id":"fa49dae7-944b-4b86-bcfa-789063625512","html_url":"https://github.com/poneding/ssher","commit_stats":null,"previous_names":["poneding/ssher"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poneding%2Fssher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poneding%2Fssher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poneding%2Fssher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poneding%2Fssher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poneding","download_url":"https://codeload.github.com/poneding/ssher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241144812,"owners_count":19917357,"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-11T12:42:46.830Z","updated_at":"2026-05-11T08:57:10.649Z","avatar_url":"https://github.com/poneding.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/poneding/ssher)](https://goreportcard.com/report/github.com/poneding/ssher)\n[![GitHub release](https://img.shields.io/github/v/release/poneding/ssher)](https://img.shields.io/github/v/release/poneding/ssher)\n[![GitHub license](https://img.shields.io/github/license/poneding/ssher)](https://img.shields.io/github/license/poneding/ssher)\n[![GitHub stars](https://img.shields.io/github/stars/poneding/ssher)](https://img.shields.io/github/stars/poneding/ssher)\n[![GitHub forks](https://img.shields.io/github/forks/poneding/ssher)](https://img.shields.io/github/forks/poneding/ssher)\n\n# ssher\n\n中文 | [ENG](README_en-US.md)\n\nssher 是一款连接远程服务器命令行工具，简单易用。\n\n由于是使用 Go 语言开发，所以支持多平台，包括 Linux、MacOS 和 Windows。\n\n## 🔍 预览\n\n![ssher](https://github.com/poneding/images/blob/master/2024/04/202404260925762.gif?raw=true)\n\n## ⚙️ 安装\n\n### 直接 Go install 安装\n\n如果本地已经安装了 Go 环境，可以直接使用 `go install` 安装：\n\n```bash\ngo install github.com/poneding/ssher@latest\n```\n\n### 二进制文件\n\nMacOS \u0026 Linux 安装，参考以下命令：\n\n```bash\n# MacOS\nsudo wget https://github.com/poneding/ssher/releases/download/v1.1.0/ssher_1.1.0_darwin_arm64 -O /user/local/bin/ssher \u0026\u0026 sudo chmod +x /user/local/bin/ssher\n\n# Linux\nsudo wget https://github.com/poneding/ssher/releases/download/v1.1.0/ssher_1.1.0_linux_amd64 -O /user/local/bin/ssher \u0026\u0026 sudo chmod +x /user/local/bin/ssher\n```\n\n\u003e 注意：下载前确认你的系统是 `arm64` 还是 `amd64`，下载对应的二进制文件。\n\nWindows 安装，参考以下步骤：\n\n首先下载 `ssher.exe` 文件：\n\n```bash\n# 下载 .exe 文件\nwget https://github.com/poneding/ssher/releases/download/v1.1.0/ssher_1.1.0_windows_amd64.exe\n```\n\n下载完成后，将 `ssher.exe` 文件路径添加到环境变量中，或者将其放到一个已经添加到环境变量的路径下。\n\n### 浏览器下载\n\n[👉🏻 发布下载](https://github.com/poneding/ssher/releases)，国内网络访问可能受阻。\n\n### 源码编译\n\n需要[安装 Go 环境](https://golang.google.cn/doc/install)，然后执行以下命令：\n\n```bash\ngit clone https://github.com/poneding/ssher.git\ncd ssher\ngo build -o ssher main.go\n```\n\n## 🛠️ 使用\n\n### 快速开始\n\n```bash\nssher\nssher -s \u003cserver\u003e\n```\n\n输入以上命令，会进入交互模式，在交互模式中你可以使用通过 `↓ ↑ → ←` 键选择你要连接的服务器或者添加新的服务器\n\n### 服务器管理操作\n\n```bash\n# 查看 ssh 连接列表(list, ls)\nssher list\n\n# 添加 ssh 连接\nssher add\n\n# 删除 ssh 连接(remove, rm)\nssher remove\nssher remove \u003cserver_a\u003e \u003cserver_b\u003e\n\n# 编辑 ssh 连接\nssher edit\nssher edit \u003cserver\u003e\n```\n\n### 版本和升级\n\n```bash\n# 查看版本\nssher version\n\n# 升级\nssher upgrade\n```\n\n### 命令自动补全\n\n```bash\n# 将补全脚本写入到 ~/.bashrc 或者 ~/.zshrc 中\n# bash\necho 'source \u003c(ssher completion bash)' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n\n# zsh\necho 'source \u003c(ssher completion zsh)' \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\n## ⭐️ Stars\n\n[![Stargazers over time](https://starchart.cc/poneding/ssher.svg?variant=adaptive)](https://starchart.cc/poneding/ssher)\n\n如果您觉得这个项目不错，欢迎给我一个 Star ⭐️，你的支持是我最大的动力。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponeding%2Fssher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponeding%2Fssher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponeding%2Fssher/lists"}