← 回總覽

Fish Shell 快速 SSH 服务器管理小技巧

📅 2026-03-17 11:44 Mr Panda 软件编程 2 分鐘 1546 字 評分: 82
FishShell Alacritty SSH 运维技巧 终端工具
📌 一句话摘要 分享一个 Fish shell 的自定义函数,用于在终端快速跳转和管理多个服务器。 📝 详细摘要 作者分享了他在 alacritty + fish 环境下的运维技巧。通过编写一个名为 `sshpicker.fish` 的自定义函数并放置在配置目录中,可以实现对多台服务器(作者戏称为“洋垃圾服务器”)的快速访问和人肉运维跳转,提升了终端管理效率。 📊 文章信息 AI 评分:82 来源:Mr Panda(@PandaTalk8) 作者:Mr Panda 分类:软件编程 语言:中文 阅读时间:1 分钟 字数:180 标签: FishShell, Alacritty, SSH,
![Image 1: Mr Panda](https://www.bestblogs.dev/en/tweets?sourceId=SOURCE_7e49f911)

#开发小技巧 我目前使用 alacritty + fish 。

分享一个fish 的小组件, 就是一个function , 可以下面的这个function 拷贝到 ~/.config/fish/functions/sshpicker.fish

这样我就可以在终端就快速的管理我这个几个洋垃圾服务器了。

人肉运维很方便跳转到你需要的线上服务器。

!Image 2: Tweet image

!Image 3: Mr Panda

#### Mr Panda

@PandaTalk8 · 10h ago

图便宜,黑五的时候买了一堆这样的洋垃圾。 追悔莫及。

!Image 4: Tweet image

18

0

10

13.3K

2 Replies

0 Retweets

1 Likes

3,847 Views ![Image 5: Mr Panda](https://www.bestblogs.dev/en/tweets?sourceid=7e49f911)

One Sentence Summary

Sharing a custom Fish shell function to quickly jump between and manage multiple servers directly from the terminal.

Summary

The author shares a DevOps tip for the Alacritty + Fish environment. By creating a custom function named sshpicker.fish in the configuration directory, users can achieve rapid access and manual O&M (Operations and Maintenance) jumps across multiple servers—which the author humorously refers to as 'e-waste servers'—significantly boosting terminal management efficiency.

AI Score

82

Influence Score 3

Published At Today

Language

Chinese

Tags

FishShell

Alacritty

SSH

DevOps Tips

Terminal Tools

查看原文 → 發佈: 2026-03-17 11:44:19 收錄: 2026-03-17 16:01:03

🤖 問 AI

針對這篇文章提問,AI 會根據文章內容回答。按 Ctrl+Enter 送出。