WinSSH
SSH terminal cho Windows, chạy như một tab trong Windows Terminal với khả năng tô màu từ khóa (keyword highlighting) tùy chỉnh. Phù hợp để kết nối board Embedded Linux, thiết bị mạng và server trong lab.
Tính năng chính
- Tích hợp Windows Terminal: Chạy như tab native, đồng bộ tự động menu cho từng profile (
--wt-install), hỗ trợ màu tab riêng (wtTab). - Keyword Highlighting thông minh: Tô màu từ khóa mà không phá vỡ escape sequence của server; tự tạm dừng khi mở app toàn màn hình (
vim,less,htop). Hỗ trợ rule tùy chỉnh tại%APPDATA%\WinSSH\highlight.jsonvới hot-reload. - Profiles & Connection Picker: Lưu profile, import từ
~/.ssh/config(--import-ssh-config), tìm nhanh bằng bàn phím. Mật khẩu (nếu dùng) được lưu trong Windows Credential Manager (--save-password), không lưu plaintext. - Hỗ trợ thiết bị cũ & Auto-reconnect: Bật
--legacy-algorithmscho thiết bị dùngssh-rsa/SHA-1/CBC cũ; hỗ trợ--reconnectkhi thiết bị reboot và--on-connectđể tự chạy lệnh sau khi kết nối. - Session Logs & Timestamps: Ghi log phiên vào
%LOCALAPPDATA%\WinSSH\logsvà bật/tắt timestamp trên màn hình.
Cài đặt
Tải bản mới nhất từ GitHub Releases:
- Installer:
WinSSH-setup-<version>.exe— cài per-user không cần quyền admin, tùy chọn thêm vàoPATHvà Windows Terminal. - Portable:
WinSSH-portable-<version>.zip— giải nén và chạyWinSSH.exe(chạyWinSSH.exe --wt-installđể thêm vào Windows Terminal).
Sử dụng nhanh
# Mở connection picker
winssh
# Kết nối trực tiếp
winssh root@10.0.0.108
winssh -p 2222 -i ~/.ssh/id_ed25519 user@host
# Lưu profile và import từ ~/.ssh/config
winssh --save cb2-lab --keepalive 30 root@10.0.0.108
winssh cb2-lab
winssh --import-ssh-config
# Tạo và kiểm tra file highlight rules tùy chỉnh
winssh --init-rules
winssh --check-rules
Phím tắt trong phiên (Ctrl + ] sau đó bấm phím)
| Phím | Tác dụng |
|---|---|
h hoặc ? | Mở menu trợ giúp |
f | Bật/tắt keyword highlighting |
i | Xem thông tin kết nối (server, host key, cipher, auth, log) |
r | Kết nối lại ngay |
l / t | Bật/tắt ghi log ra file / timestamp trên màn hình |
x | Ngắt kết nối và thoát |
Liên kết
- Repository: github.com/winssh/WinSSH
- Releases: WinSSH Releases
- Docs: PLAN.md, profiles.md, highlight-rules.md