更新内容
- 编辑或删除一台主机时,只改那一段,不再重写整个
hosts.conf(仍会先写一份 .bak)
- 未搜索时按上次连接时间排序;新建或编辑成功后停在那台主机,取消编辑保持光标,删除后选中旁边那台
import --force 不再把 ext 主机写进 hosts.conf;CSV 没有密码列时不再删除钥匙串密码
- 合法的主机别名原样交给 OpenSSH,跳板可以用自己的密钥(不再强制
-i / IdentitiesOnly / PubkeyAuthentication=no)
- 出现密钥口令、
Password: 或验证码提示时,连接看门狗会继续等待;更早的横幅里即使有 “access denied” 也不会把这次登录掐掉
- 底部帮助随当前焦点变化;中文搜索按字符显示宽度计算
- 搜索框光标闪烁不再把整个屏幕清掉
What's new
- Edit or delete one host without rewriting the rest of
hosts.conf (a .bak is still written first)
- Idle list sorts by last connect time; new/edit stays on that host, cancel keeps the cursor, delete selects the neighbor
import --force no longer copies ext hosts into hosts.conf, and a missing password column no longer deletes Keychain entries
- Legal host aliases are passed to OpenSSH as-is, so ProxyJump can use its own key (
-i / IdentitiesOnly / PubkeyAuthentication=no are not forced)
- Connect watchdog keeps waiting on a passphrase,
Password:, or OTP prompt, including when an earlier banner says "access denied"
- Help text matches the current focus; Chinese search uses display columns
- Search cursor blink no longer clears the whole screen
安装 / 更新
curl -fsSL https://raw.githubusercontent.com/kDolphin/vnssh/master/vnssh.py -o ~/.local/bin/vnssh
chmod +x ~/.local/bin/vnssh
vnssh --version # 应为 1.0.7
Install / update
curl -fsSL https://raw.githubusercontent.com/kDolphin/vnssh/master/vnssh.py -o ~/.local/bin/vnssh
chmod +x ~/.local/bin/vnssh
vnssh --version # expect 1.0.7