Compare commits
82 Commits
main
...
2ea8c0ab08
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ea8c0ab08 | |||
| f46f87aabe | |||
| 3acb2c6817 | |||
| c5499fe473 | |||
| 2b07d00cd0 | |||
| 4d0cc51535 | |||
| 4142c06920 | |||
| 323b8d708e | |||
| 42235cddae | |||
| f96c1f168c | |||
| 8d586ed415 | |||
| 3dabbaa13a | |||
| 8e6c58c3c6 | |||
| c23bdf41eb | |||
| ed3f7060c2 | |||
| 985cd07f51 | |||
| 2495d61c93 | |||
| 8f1907e200 | |||
| 89742a383b | |||
| 97a2ded127 | |||
| 8a44f2ffff | |||
| d3418234e7 | |||
| a8349be54e | |||
| fa6e44189c | |||
| 4c1f6a7bcf | |||
| e0c8cd7592 | |||
| 355f98d55e | |||
| ca6dd33612 | |||
| b9604ff8ba | |||
| d4beabc4a7 | |||
| 44da080b9c | |||
| 8d4b08ca7c | |||
| 39fa9432eb | |||
| 96c1693fd5 | |||
| 2c149026be | |||
| 979da9fe21 | |||
| 4a554cf0c6 | |||
| 811107029b | |||
| d3df3d6f38 | |||
| 4e83c9bef3 | |||
| f48835b0a9 | |||
| 76262a9179 | |||
| b086a2abc8 | |||
| 5ea79aac01 | |||
| 1d742a8974 | |||
| 1586cc564e | |||
| 8b3e4e397b | |||
| cd95a21c87 | |||
| f31a69dd08 | |||
| 83053a3e42 | |||
| a7e11e85e5 | |||
| 3a9506b6d9 | |||
| b228c98d6d | |||
| a538b16ca4 | |||
| 81c2d5a065 | |||
| 9342595029 | |||
| a62a61fab4 | |||
| 33b934fd9f | |||
| 4e6506b04f | |||
| bdae031a83 | |||
| 07c073aa55 | |||
| 9cc0206270 | |||
| c6c8b70129 | |||
| 635bb5c1dd | |||
| 695549c7cf | |||
| 78c7081012 | |||
| 4c1ac4186b | |||
| 88b79995e0 | |||
| c066142088 | |||
| 568422196a | |||
| 54ee390764 | |||
| 0f6ba374ad | |||
| 2b127a1f99 | |||
| 57b80fcb85 | |||
| 4299794055 | |||
| 50baf6b73c | |||
| 39d6968fdc | |||
| 510af666fc | |||
| 3d5df244c9 | |||
| 49d5a4ffe5 | |||
| 4a14abc505 | |||
| 5b4069e8b0 |
@@ -0,0 +1 @@
|
|||||||
|
.DS_Store
|
||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -0,0 +1,47 @@
|
|||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
set -l arg_count (count $argv)
|
||||||
|
|
||||||
|
# 1. 检查是否有输入参数
|
||||||
|
if test $arg_count -eq 0
|
||||||
|
echo "用法: zp <文件或目录1> [文件或目录2] ..."
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
|
||||||
|
# 2. 预检:检查是否安装了 pigz
|
||||||
|
set -l compress_tool ""
|
||||||
|
if command -v pigz >/dev/null
|
||||||
|
# 使用 pigz 并指定压缩率 5
|
||||||
|
set compress_tool "-I 'pigz -5'"
|
||||||
|
set -l core_count (nproc 2>/dev/null; or echo "多")
|
||||||
|
echo "⚡ 检测到 pigz,将使用 $core_count 核并行压缩 (Level 5)"
|
||||||
|
else
|
||||||
|
# 回退到标准 gzip
|
||||||
|
set compress_tool "-z"
|
||||||
|
echo "🐢 未检测到 pigz,使用标准 gzip 压缩"
|
||||||
|
end
|
||||||
|
|
||||||
|
# 3. 执行压缩逻辑
|
||||||
|
if test $arg_count -eq 1
|
||||||
|
# 逻辑 A:单个参数,生成同名 .tar.gz
|
||||||
|
# 去掉末尾斜杠以获取干净的名称
|
||||||
|
set -l name (string trim -r -c / $argv[1])
|
||||||
|
set -l target "$name.tar.gz"
|
||||||
|
|
||||||
|
echo "🚀 正在压缩单项目: $target"
|
||||||
|
# tar 默认保留软链接(对应 7z 的 -sni -snh 行为)
|
||||||
|
eval tar $compress_tool -cf "$target" "$argv[1]"
|
||||||
|
else
|
||||||
|
# 逻辑 B:多个参数,生成 package_时间戳.tar.gz
|
||||||
|
set -l timestamp (date "+%Y%m%d_%H%M%S")
|
||||||
|
set -l target "package_$timestamp.tar.gz"
|
||||||
|
|
||||||
|
echo "🚀 正在将 $arg_count 个项目打包至: $target"
|
||||||
|
eval tar $compress_tool -cf "$target" $argv
|
||||||
|
end
|
||||||
|
|
||||||
|
if test $status -eq 0
|
||||||
|
echo "✅ 压缩完成: $target"
|
||||||
|
else
|
||||||
|
echo "❌ 压缩过程中出现错误"
|
||||||
|
end
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
# 预检:检查是否安装了 pigz
|
||||||
|
set -l has_pigz (command -v pigz)
|
||||||
|
|
||||||
|
for file in $argv
|
||||||
|
if not test -f "$file"
|
||||||
|
echo "错误: $file 不是有效文件"
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
|
||||||
|
# 1. 获取不带后缀的文件名
|
||||||
|
set -l base_name (string replace -r '\.(tar\..*|tgz|tbz2|txz)$' '' $file | string replace -r '\.[^.]+$' '' )
|
||||||
|
|
||||||
|
# 2. 确定解压工具参数 (只包含工具,不包含 -x 或 -t)
|
||||||
|
set -l tool_opt ""
|
||||||
|
if test -n "$has_pigz"; and string match -qr '\.(gz|tgz)$' "$file"
|
||||||
|
set tool_opt "-I pigz"
|
||||||
|
echo "🚀 检测到 Gzip,使用 pigz 加速预览与解压"
|
||||||
|
end
|
||||||
|
|
||||||
|
# 3. 预检:预览内容并获取根项目
|
||||||
|
# 注意:这里只传 $tool_opt,后面显式接 -tf
|
||||||
|
set -l tar_output (eval tar $tool_opt -tf "$file" 2>/dev/null)
|
||||||
|
|
||||||
|
if test $status -ne 0
|
||||||
|
echo "❌ 错误: 无法读取 $file,文件可能损坏或格式不支持"
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
|
||||||
|
# 提取根目录项目:过滤掉 ./ 并在第一个 / 处截断
|
||||||
|
set -l root_items (echo $tar_output | string replace -r '^\./' '' | string split -f 1 / | sort -u | string collect -n)
|
||||||
|
set -l item_count (count $root_items)
|
||||||
|
|
||||||
|
if test $item_count -eq 0
|
||||||
|
echo "跳过: $file 内容为空"
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
|
||||||
|
# 4. 智能判断执行
|
||||||
|
if test $item_count -gt 1
|
||||||
|
echo "📦 检测到多个根项目 ($item_count),解压至目录: $base_name/"
|
||||||
|
mkdir -p "$base_name"
|
||||||
|
eval tar $tool_opt -xf "$file" -C "$base_name"
|
||||||
|
else
|
||||||
|
echo "📄 检测到单个根项目 ($root_items[1]),直接解压..."
|
||||||
|
eval tar $tool_opt -xf "$file"
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
for file in $argv
|
||||||
|
if not test -f "$file"
|
||||||
|
echo "错误: $file 不是有效文件"
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
|
||||||
|
# 1. 获取不带后缀的文件名 (例如 temp.zip -> temp)
|
||||||
|
set -l base_name (string replace -r '\.[^.]+$' '' (basename "$file"))
|
||||||
|
|
||||||
|
# 2. 预检:获取压缩包顶级路径,并过滤掉系统垃圾
|
||||||
|
set -l all_paths (7z l -slt "$file" | grep "^Path = " | string replace -r '^Path = ' '')
|
||||||
|
set -l root_items
|
||||||
|
for p in $all_paths
|
||||||
|
# 只取路径的第一级
|
||||||
|
set -l root (string split -m 1 / $p)[1]
|
||||||
|
# 排除 macOS 垃圾和空字符,且去重
|
||||||
|
if not contains -- "$root" $root_items
|
||||||
|
if not string match -qr '^(__MACOSX|\.DS_Store|archive_temp)$' "$root"
|
||||||
|
set -a root_items "$root"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
set -l item_count (count $root_items)
|
||||||
|
|
||||||
|
if test $item_count -eq 0
|
||||||
|
echo "跳过: $file 是空的或仅包含系统垃圾文件"
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
|
||||||
|
# 3. 核心智能判断逻辑
|
||||||
|
set -l need_folder true
|
||||||
|
|
||||||
|
if test $item_count -eq 1
|
||||||
|
# 情况 1: 只有一个根项目,直接解压
|
||||||
|
set need_folder false
|
||||||
|
else if contains -- "$base_name" $root_items
|
||||||
|
# 情况 2: 有多个项目,但其中一个文件夹的名字和压缩包同名
|
||||||
|
# 这通常意味着“自带容器”,为了防止嵌套,直接解压
|
||||||
|
set need_folder false
|
||||||
|
echo "💡 检测到包内已包含同名容器 '$base_name/',将跳过额外目录创建..."
|
||||||
|
end
|
||||||
|
|
||||||
|
# 4. 执行解压
|
||||||
|
if test "$need_folder" = true
|
||||||
|
echo "📦 检测到多个根项目 ($item_count),解压至目录: $base_name/"
|
||||||
|
mkdir -p "$base_name"
|
||||||
|
7z x -sni -mmt=on "$file" -o"$base_name"
|
||||||
|
else
|
||||||
|
echo "📄 结构清晰,直接解压..."
|
||||||
|
7z x -sni -mmt=on "$file"
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/env fish
|
||||||
|
# 把之前定义的 zp 函数内容贴进来,去掉外层的 function/end
|
||||||
|
set -l arg_count (count $argv)
|
||||||
|
|
||||||
|
# 检查是否有输入参数
|
||||||
|
if test $arg_count -eq 0
|
||||||
|
echo "用法: zp <文件或目录1> [文件或目录2] ..."
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
|
||||||
|
if test $arg_count -eq 1
|
||||||
|
# 逻辑 A:单个参数,保持原样生成同名 zip
|
||||||
|
set -l name (string trim -r -c / $argv[1])
|
||||||
|
set -l target "$name.zip"
|
||||||
|
echo "🚀 正在多线程压缩单项目: $target"
|
||||||
|
7z a -sni -snh -tzip -mmt=on -mx=5 "$target" "$argv[1]"
|
||||||
|
else
|
||||||
|
# 逻辑 B:多个参数,生成 package_20251219_1540.zip
|
||||||
|
set -l timestamp (date "+%Y%m%d_%H%M%S")
|
||||||
|
set -l target "package_$timestamp.zip"
|
||||||
|
echo "🚀 正在将 $arg_count 个项目打包至: $target"
|
||||||
|
# 直接传入 $argv,7z 会自动处理多个路径
|
||||||
|
7z a -sni -snh -tzip -mmt=on -mx=5 "$target" $argv
|
||||||
|
end
|
||||||
@@ -1,10 +1,94 @@
|
|||||||
|
# 兼容性添加 PATH
|
||||||
|
if functions -q fish_add_path
|
||||||
|
fish_add_path ~/.flinty/bin
|
||||||
|
else
|
||||||
|
# 针对 Fish < 3.2.0 的版本
|
||||||
|
if not contains "$HOME/.flinty/bin" $PATH
|
||||||
|
set -gx PATH "$HOME/.flinty/bin" $PATH
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
set -gx LANG C.UTF-8
|
||||||
|
set -gx LC_ALL C.UTF-8
|
||||||
|
set -gx EDITOR nano
|
||||||
|
|
||||||
|
# 禁用 Fish 默认欢迎语
|
||||||
|
set -g fish_greeting ""
|
||||||
|
|
||||||
|
function fish_greeting
|
||||||
|
echo ""
|
||||||
|
# 1. 顶部欢迎与 UTC-8 时间
|
||||||
|
set_color -o cyan
|
||||||
|
echo "Welcome back, $USER"
|
||||||
|
# 在 TZ 环境变量中,GMT+8 指向西八区 (UTC-8)
|
||||||
|
set -l current_time (env TZ="GMT-8" date "+%Y-%m-%d %H:%M:%S")
|
||||||
|
echo "Time (UTC-8): $current_time"
|
||||||
|
set_color normal
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# 3. 包管理器逻辑 (优先检查 oma)
|
||||||
|
set -l pm_name ""
|
||||||
|
if type -q oma
|
||||||
|
set pm_name (set_color -o green)"oma"(set_color normal)
|
||||||
|
else
|
||||||
|
# 回退到系统默认包管理器
|
||||||
|
if type -q brew
|
||||||
|
set pm_name "Homebrew"
|
||||||
|
else if type -q apt
|
||||||
|
set pm_name "apt"
|
||||||
|
else if type -q pacman
|
||||||
|
set pm_name "pacman"
|
||||||
|
else if type -q dnf
|
||||||
|
set pm_name "dnf"
|
||||||
|
else
|
||||||
|
set pm_name "Default PM"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
echo "Package Manager: $pm_name"
|
||||||
|
echo ""
|
||||||
|
end
|
||||||
|
|
||||||
## 替换 ls 默认行为
|
## 替换 ls 默认行为
|
||||||
function ls --description 'alias ls to eza if possible'
|
function ls --description 'alias ls to eza if possible'
|
||||||
|
# 1. 优先使用系统安装的 eza (PATH 里的)
|
||||||
if type -q eza
|
if type -q eza
|
||||||
eza -la --icons $argv
|
eza -la --icons $argv
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
# 2. 如果系统没有,尝试根据架构寻找 ~/.flinty/bin 下的二进制文件
|
||||||
|
set -l arch (uname -m)
|
||||||
|
set -l target_bin ""
|
||||||
|
set -l bin_path "$HOME/.flinty/bin"
|
||||||
|
|
||||||
|
switch $arch
|
||||||
|
case x86_64
|
||||||
|
# 如果是 Alpine Linux,通常需要用 musl 版本 (根据你提供的文件名)
|
||||||
|
if test -f /etc/alpine-release
|
||||||
|
set target_bin "eza_x86_64-unknown-linux-musl"
|
||||||
else
|
else
|
||||||
|
set target_bin "eza_x86_64-unknown-linux-gnu"
|
||||||
|
end
|
||||||
|
case aarch64 arm64
|
||||||
|
set target_bin "eza_aarch64-unknown-linux-gnu"
|
||||||
|
end
|
||||||
|
|
||||||
|
set -l custom_eza "$bin_path/$target_bin"
|
||||||
|
|
||||||
|
# 3. 检查文件是否存在且可执行
|
||||||
|
if test -n "$target_bin"; and test -x "$custom_eza"
|
||||||
|
$custom_eza -la --icons $argv
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
# 4. 既没有系统 eza 也没有本地二进制,回退到 command ls
|
||||||
command ls -la $argv
|
command ls -la $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
|
## 按修改时间排序列出文件
|
||||||
|
function lt --description 'ls sorted by time'
|
||||||
|
ls --sort=modified $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
## 更新配置
|
## 更新配置
|
||||||
@@ -21,5 +105,65 @@ function dotu
|
|||||||
cd $current_dir
|
cd $current_dir
|
||||||
end
|
end
|
||||||
|
|
||||||
|
## 修复光标消失
|
||||||
|
function restore_cursor --on-event fish_postexec
|
||||||
|
tput cnorm
|
||||||
|
end
|
||||||
|
|
||||||
|
## 让 sudo 能够识别自定义 bin 下的脚本
|
||||||
|
function sudo --description "Replacement for sudo that preserves custom PATH commands"
|
||||||
|
# 1. 如果没有任何参数,直接运行原始 sudo (通常显示帮助)
|
||||||
|
if not set -q argv[1]
|
||||||
|
command sudo
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
# 2. 如果第一个参数是以 "-" 开头的选项 (比如 -i, -s, -u, -E)
|
||||||
|
# 我们直接把所有参数原样传给真正的 sudo,不做路径解析
|
||||||
|
if string match -q -- "-*" $argv[1]
|
||||||
|
command sudo $argv
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
# 3. 如果第一个参数是普通的命令名 (比如 zp, apt, vim)
|
||||||
|
# 使用 type -p 获取其完整路径。使用 -- 防止命令名本身带杠导致 type 报错
|
||||||
|
set -l command_path (type -p -- $argv[1] 2>/dev/null)
|
||||||
|
|
||||||
|
if test -n "$command_path"
|
||||||
|
# 找到了完整路径,调用真正的 sudo 运行该绝对路径
|
||||||
|
command sudo $command_path $argv[2..-1]
|
||||||
|
else
|
||||||
|
# 没找到路径(可能是内建命令或拼写错误),直接交给真正的 sudo 处理
|
||||||
|
command sudo $argv
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function portcheck
|
||||||
|
# 设置起始端口,如果没有传入参数则默认为 8840
|
||||||
|
set -l port 8840
|
||||||
|
if test (count $argv) -gt 0
|
||||||
|
set port $argv[1]
|
||||||
|
end
|
||||||
|
|
||||||
|
# 循环检查端口是否被占用
|
||||||
|
# -t: TCP, -u: UDP, -l: Listening, -n: Numeric
|
||||||
|
while ss -tuln | grep -q ":$port "
|
||||||
|
set port (math $port + 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
echo $port
|
||||||
|
end
|
||||||
|
|
||||||
|
function y
|
||||||
|
set -l tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||||
|
yazi $argv --cwd-file="$tmp"
|
||||||
|
if set cwd (cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||||
|
builtin cd -- "$cwd"
|
||||||
|
end
|
||||||
|
rm -f -- "$tmp"
|
||||||
|
end
|
||||||
|
|
||||||
abbr -a port 'sudo ss -tulnp | grep'
|
abbr -a port 'sudo ss -tulnp | grep'
|
||||||
abbr -a process 'ps aux | grep'
|
abbr -a process 'ps aux | grep'
|
||||||
|
|
||||||
|
alias fastfetch="fastfetch --color-keys blue"
|
||||||
+129
-26
@@ -1,81 +1,184 @@
|
|||||||
|
Host *
|
||||||
|
IdentitiesOnly yes
|
||||||
|
IdentityFile ~/.flinty/ssh/%n.pub
|
||||||
|
ForwardAgent yes
|
||||||
|
|
||||||
Host inc-r750xa
|
Host inc-r750xa
|
||||||
HostName 10.0.24.20
|
HostName 10.0.24.20
|
||||||
User ubuntu
|
User ubuntu
|
||||||
Port 22
|
|
||||||
IdentityFile ~/.flinty/ssh/inc-r750xa.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host inc-backup-server
|
Host inc-backup-server
|
||||||
HostName 10.0.88.33
|
HostName 10.0.88.33
|
||||||
User aiteam
|
User aiteam
|
||||||
IdentityFile ~/.flinty/ssh/inc-backup-server.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host inc-xe9680
|
Host inc-xe9680
|
||||||
HostName 10.0.24.40
|
HostName 10.0.24.40
|
||||||
User flintylemming
|
User flintylemming
|
||||||
Port 22
|
|
||||||
IdentityFile ~/.flinty/ssh/inc-xe9680.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host inc-dev
|
Host inc-truenas
|
||||||
HostName 172.16.48.254
|
HostName 172.16.48.132
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host inc-dev-et
|
||||||
|
HostName 192.168.97.4
|
||||||
User flintylemming
|
User flintylemming
|
||||||
IdentityFile ~/.flinty/ssh/inc-dev.pub
|
IdentityFile ~/.flinty/ssh/inc-dev.pub
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host inc-radxa
|
Host inc-radxa
|
||||||
HostName 172.16.49.114
|
HostName 172.16.49.114
|
||||||
User flintylemming
|
User radxa
|
||||||
IdentityFile ~/.flinty/ssh/inc-radxa.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host inc-backup-server
|
Host inc-backup-server
|
||||||
HostName 10.0.88.33
|
HostName 10.0.88.33
|
||||||
User aiteam
|
User aiteam
|
||||||
IdentityFile ~/.flinty/ssh/inc-backup-server.pub
|
|
||||||
IdentitiesOnly yes
|
Host inc-edr1
|
||||||
|
HostName 10.0.24.21
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host inc-edr2
|
||||||
|
HostName 10.0.24.27
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host inc-ldns-dt-1221
|
||||||
|
HostName 10.0.24.40
|
||||||
|
Port 8851
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host inc-qts
|
||||||
|
HostName 172.16.49.43
|
||||||
|
User FlintyLemming
|
||||||
|
|
||||||
|
Host inc-dev-temp
|
||||||
|
HostName 10.0.24.26
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host inc-ai-max-395
|
||||||
|
HostName 172.16.48.146
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
Host idc-ucloud
|
Host idc-ucloud
|
||||||
HostName 113.31.174.4
|
HostName 113.31.174.4
|
||||||
User root
|
User root
|
||||||
IdentityFile ~/.flinty/ssh/idc-ucloud.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host idc-aliyun-sh
|
Host idc-aliyun-sh
|
||||||
HostName 47.100.113.57
|
HostName 47.100.113.57
|
||||||
User ecs-user
|
User ecs-user
|
||||||
IdentityFile ~/.flinty/ssh/idc-aliyun-sh.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host idc-aws-sg
|
Host idc-aws-sg
|
||||||
HostName 52.220.5.200
|
HostName 52.220.5.200
|
||||||
User admin
|
User admin
|
||||||
|
|
||||||
|
Host idc-aws-sg-hf
|
||||||
|
HostName 112.31.107.190
|
||||||
|
Port 8848
|
||||||
|
User admin
|
||||||
IdentityFile ~/.flinty/ssh/idc-aws-sg.pub
|
IdentityFile ~/.flinty/ssh/idc-aws-sg.pub
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host idc-hf-linux
|
Host idc-hf-linux
|
||||||
HostName 112.31.107.190
|
HostName 112.31.107.190
|
||||||
Port 8850
|
Port 8850
|
||||||
User flintylemming
|
User flintylemming
|
||||||
IdentityFile ~/.flinty/ssh/hf-linux.pub
|
IdentityFile ~/.flinty/ssh/hf-linux.pub
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host idc-hf-qts
|
Host idc-hf-qts
|
||||||
HostName 112.31.107.190
|
HostName 112.31.107.190
|
||||||
Port 8845
|
Port 8845
|
||||||
User FlintyLemming
|
User FlintyLemming
|
||||||
IdentityFile ~/.flinty/ssh/hf-qts.pub
|
IdentityFile ~/.flinty/ssh/hf-qts.pub
|
||||||
|
|
||||||
|
Host idc-nj-fnos-v6
|
||||||
|
HostName nj-fnos-v6.mitsea.com
|
||||||
|
User FlintyLemming
|
||||||
|
IdentityFile ~/.flinty/ssh/nj-fnos.pub
|
||||||
|
|
||||||
|
Host idc-nj-fnos
|
||||||
|
HostName 112.31.107.190
|
||||||
|
Port 8842
|
||||||
|
User FlintyLemming
|
||||||
|
IdentityFile ~/.flinty/ssh/nj-fnos.pub
|
||||||
|
|
||||||
|
Host idc-hf-truenas
|
||||||
|
HostName 112.31.107.190
|
||||||
|
Port 8849
|
||||||
|
User flintylemming
|
||||||
|
IdentityFile ~/.flinty/ssh/hf-truenas.pub
|
||||||
|
|
||||||
|
Host idc-hf-truenas-v6
|
||||||
|
HostName hf-truenas-v6.mitsea.com
|
||||||
|
User flintylemming
|
||||||
|
IdentityFile ~/.flinty/ssh/hf-truenas.pub
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
Host idc-hk-iepl-v6
|
||||||
|
HostName 2408:8756:f5f:2a01:1:97a0:bb77:ff0d
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.flinty/ssh/idc-hk-iepl.pub
|
||||||
|
|
||||||
|
Host idc-hk-iepl-hf-v4
|
||||||
|
HostName 112.31.107.190
|
||||||
|
Port 8843
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.flinty/ssh/idc-hk-iepl.pub
|
||||||
|
|
||||||
|
Host idc-aliyun-sg
|
||||||
|
HostName 47.237.137.245
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host idc-yxvm
|
||||||
|
HostName 64.49.47.21
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host idc-vultr-bgp
|
||||||
|
HostName 137.220.34.171
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host idc-dmit-lax
|
||||||
|
HostName 69.63.202.73
|
||||||
|
User root
|
||||||
|
|
||||||
Host hf-linux
|
Host hf-linux
|
||||||
HostName 192.168.5.12
|
HostName 192.168.5.12
|
||||||
User flintylemming
|
User flintylemming
|
||||||
IdentityFile ~/.flinty/ssh/hf-linux.pub
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
Host hf-qts
|
Host hf-qts
|
||||||
HostName 192.168.5.6
|
HostName 192.168.5.6
|
||||||
User FlintyLemming
|
User FlintyLemming
|
||||||
IdentityFile ~/.flinty/ssh/hf-qts.pub
|
|
||||||
IdentitiesOnly yes
|
Host hf-truenas
|
||||||
|
HostName 192.168.5.5
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host hf-network-server
|
||||||
|
HostName 192.168.5.9
|
||||||
|
User flintylemming
|
||||||
|
|
||||||
|
Host nj-fnos
|
||||||
|
HostName 192.168.2.6
|
||||||
|
User FlintyLemming
|
||||||
|
|
||||||
|
Host nj-nanopi-neo3
|
||||||
|
HostName 192.168.2.10
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host zs-zos
|
||||||
|
HostName 192.168.6.6
|
||||||
|
Port 10000
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host sdwan-us-la
|
||||||
|
HostName 192.168.99.7
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.flinty/ssh/us-la.pub
|
||||||
|
|
||||||
|
Host frp-inc-xe9680
|
||||||
|
HostName 112.31.107.190
|
||||||
|
User flintylemming
|
||||||
|
Port 7010
|
||||||
|
IdentityFile ~/.flinty/ssh/inc-xe9680.pub
|
||||||
|
|
||||||
|
Host frp-inc-r750xa
|
||||||
|
HostName 112.31.107.190
|
||||||
|
User flintylemming
|
||||||
|
Port 7011
|
||||||
|
IdentityFile ~/.flinty/ssh/inc-r750xa.pub
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICfCIEdy45L70Vb01F2f0pEVbk50VwgNQNVmCMfbWbih
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJuSpEOST3UNe5RuN3eIFuDjtUhjiVJacKJGTUyxiWce
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICAaZwt4Nja1EbU7KCRxcxqxTizFXvkUHuU0ZjN90EyU
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOTEWdoeuqONGH20iR3cnx6iynRrDY5o6pa1Fj52h1z8
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0a44UOa1RAIVFJjTusBfeWMv9MDnmsfxo39xPShKFZ
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIANImJYQnDnW8oLT/n6XGcw+sSvgwFq5PfTkzxACMj9a
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFK9/NvPjti5NlwABrVrimUJdc1ilwCXKKCCaeO5YfvW
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEjKfWYcKLlKSPc3cBgkdG9/P/QG79QdL5NNOMOrUO/Y
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvcIR/AQksyQPe4zAaRCaGJjYi90e0SxZh8AFkQqQMV
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBEGz0gbLl0WdPZ7KKdd6dwuJsEZNbNjqJVgrOZjiPQW
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE5dH0cUYvCMZQPo0hXRSK9NXl8hQGGodrj24q9XZIuH
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH9LCdVn9Awo0GYgFGBJ0iuX5aLpZaLEZXJTqXJu5urC
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGX76ty7gCXE9vhwlXlxY6JWq720EHH+rXFmzya1cMgV
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHAkL+5R/8J4x5i1pKpJYpxQEFnWWCSvFreSjG+hmqSW
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJSeKZIbpt22qy6rN6T6iXtb5o/4G9BXXLsYacpIhX2a
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGfzysF0qhzQWvI+zFFJwpZqY6kbpEBOYHZBKewCMIF+
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF/6xR7NNpPJ7MrCx7qgo6hS1orwwX+4nMsyTdWl4/kc
|
||||||
Reference in New Issue
Block a user