在 Debian 下配置 SecureCRT,主要包括 安装、首次配置、连接 Linux 主机(SSH) 以及 中文/字体等常见问题处理。下面按步骤说明。
SecureCRT 官方提供 Linux 版本(支持 Debian / Ubuntu)。
官网地址(需注册账号):
https://www.vandyke.com/products/securecrt/
选择:
例如:
SecureCRT-9.x.xx-xxx.Ubuntu20.x86_64.deb
sudo apt update
sudo apt install -y libssl-dev libicu-dev
sudo dpkg -i SecureCRT-*.deb
如有依赖错误:
sudo apt -f install
securecrt
或:
/usr/bin/SecureCRT
首次启动会提示:
一般选择 Personal profile
Options → Global Options
重点检查:
curve25519-sha256File → Connect → New Session
按向导:
Protocol:SSH2
Hostname: 服务器IP
Port: 22(默认)
Username: 登录用户名
推荐顺序:
在 Debian 本地:
ssh-keygen -t ed25519
ssh-copy-id user@server_ip
Session Options → SSH2 → Authentication
取消 Password,勾选 PublicKey
并选择:
~/.ssh/id_ed25519
Session Options → Terminal → Appearance
Character encoding:UTF-8
locale
如不是 UTF-8:
sudo dpkg-reconfigure locales
选择:
zh_CN.UTF-8
或
en_US.UTF-8
sudo apt install libpng16-16 libssl1.1
或根据报错安装对应库。
确保用户有权限:
sudo usermod -aG dialout $USER
reboot
SecureCRT Linux 版默认:
Ctrl + InsertShift + Insert可改:
Options → Global Options → Terminal → Mouse
Debian 默认禁止 root SSH:
sudo nano /etc/ssh/sshd_config
修改:
PermitRootLogin yes
重启:
sudo systemctl restart ssh
✅ 使用 SSH2 + ed25519 密钥
✅ 终端编码 UTF-8
✅ 字体:
如果你需要:
可以继续问我,我可以按你的具体 Debian 版本(11 / 12)给你更精确的配置。