在 Debian 上使用 SecureCRT 主要涉及三个事情:
1️⃣ 安装 SecureCRT
2️⃣ 配置连接(SSH / 串口)
3️⃣ 中文、密钥、外观等常见优化
下面按步骤给你一个完整说明(以 Debian 11 / 12 为例)。
SecureCRT 没有 apt 源,需要从官网下载。
官方地址(需注册):
https://www.vandyke.com/products/securecrt/
选择:
下载的一般是:
SecureCRT-9.xx.xx-xxxx.Ubuntu20.x86_64.deb
Debian 可以直接使用 Ubuntu 的
.deb,通常没问题。
sudo apt update
sudo apt install -y libssl-dev libpam0g libncurses5 \
libx11-6 libxrender1 libxext6 libxft2 \
libfontconfig1 libpng16-16
sudo dpkg -i SecureCRT*.deb
如果有依赖报错:
sudo apt -f install
SecureCRT
或菜单里找 SecureCRT
File → Connect → New Session
选择:
ssh-keygen -t ed25519
ssh-copy-id user@server_ip
Session Options → SSH2 → Authentication
勾选:
Key 选择:
~/.ssh/id_ed25519
Session Options → Terminal → Appearance
locale
如果不是 UTF-8:
sudo dpkg-reconfigure locales
选择:
zh_CN.UTF-8
en_US.UTF-8
ls /dev/ttyUSB* /dev/ttyS*
sudo usermod -aG dialout $USER
重新登录生效
Protocol: Serial
Port: /dev/ttyUSB0
Baud rate: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow control: None
Global Options → Terminal → Mouse
Session Options → SSH2
Session Options → Log File
示例:
/home/user/logs/%S_%Y-%M-%D_%h-%m.log
sudo apt install libssl1.1
或下载对应版本 SecureCRT
如果你只是偶尔用:
如果你愿意,可以告诉我:
我可以给你一份 完全贴合你环境的配置方案。