要在 Debian 上优化 SecureCRT 的使用体验,可以从性能、显示、中文支持、连接管理、安全、脚本自动化等方面入手。下面按实用场景给你一套完整优化建议(适用于 Debian 10/11/12)。
旧版本在 Linux 下存在字体、UI、SSH 性能问题。
安装:
sudo dpkg -i scrt-*.deb
sudo apt -f install
sudo apt install fonts-noto-cjk fonts-wqy-zenhei fonts-wqy-microhei
Options → Global Options → Terminal → Fonts
推荐:
Session Options → Terminal → Emulation
如果是 HiDPI(2K/4K):
export GDK_SCALE=2
export GDK_DPI_SCALE=1
securecrt
或写进启动脚本:
~/.local/bin/securecrt
sudo apt install gtk2-engines-murrine
Session Options → Connection → SSH2
✅ 勾选 Enable compression
SSH2 → Advanced → Encryption
推荐顺序:
AES-128-GCM
AES-256-GCM
ChaCha20-Poly1305
Terminal → Emulation → Terminal
Terminal → Scrollback
Terminal → Bell
ssh-keygen -t ed25519
ssh-copy-id user@host
SecureCRT:
Session Options → SSH2 → Authentication
✅ 仅保留 PublicKey
eval $(ssh-agent)
ssh-add ~/.ssh/id_ed25519
Options → Global Options → Configuration Path
建议:
~/.securecrt/
View → Command Window
# /etc/ssh/sshd_config
PasswordAuthentication no
Session Options → Connection → Proxy
配置 SSH Proxy (Jump Host)
Session Options → Log File
示例:
/var/log/securecrt/%Y-%m-%d_%H-%M_%S.txt
export PROMPT_COMMAND='history -a'
✅ 中文乱码
✅ 卡顿
✅ 无法复制粘贴
Copy on Select✅ Debian + SecureCRT + ed25519 Key
✅ UTF-8 + Noto CJK 字体
✅ SSH Compression + GCM
✅ 会话日志 + Command Window
如果你愿意,我可以:
只要告诉我你的使用场景即可。