在 Ubuntu 上使用 SecureCRT,一般流程如下(以常见情况为例):
一、安装 SecureCRT(Ubuntu)
1️⃣ 下载 SecureCRT
- 官网:https://www.vandyke.com/products/securecrt/
- 选择 Linux / Ubuntu (64-bit .deb)
2️⃣ 安装
sudo dpkg -i scrt-*.deb
如果提示依赖问题:
sudo apt -f install
3️⃣ 启动
SecureCRT
或:
scrt
二、首次使用 SecureCRT
1️⃣ 新建连接
- File → Connect → New Session
- 选择协议:
- ✅ SSH2(最常用)
- Telnet / Serial(按需)
- 填写:
- Hostname:服务器 IP 或域名
- Port:默认 22
- Username:登录用户名
- 点击 下一步 → 完成
三、登录服务器
方式一:密码登录
方式二:使用 SSH 密钥(推荐)
1️⃣ 生成密钥(如果还没有)
ssh-keygen -t rsa -b 4096
2️⃣ 上传公钥
ssh-copy-id user@server_ip
3️⃣ SecureCRT 配置
- Session Options → SSH2
- Authentication → 勾选 PublicKey
- 选择私钥路径(通常是
~/.ssh/id_rsa)
四、常用设置(强烈推荐)
✅ 中文不乱码
Session Options
→ Terminal
→ Appearance
→ Character encoding: UTF-8
✅ 使用 Tab 多会话
- Options → Global Options
- Terminal → Open in tabs
✅ 自动保存日志
Session Options
→ Log File
→ Log file name: /home/user/logs/%S_%Y%M%D.log
✅ 右键粘贴
Terminal → Mouse
→ Paste on right button
五、常见问题
❓ Ubuntu 下 SecureCRT 卡顿
- 关闭动画
- 关闭 X11 forwarding(除非需要)
❓ 无法启动
sudo apt install libssl1.1 libpng16-16
❓ 和 Windows SecureCRT 配置同步
- 导出 Session:
File → Export Settings
- 再导入到 Ubuntu
六、替代方案(免费)
如果你只是 SSH 管理服务器:
- Termius
- Remmina
- OpenSSH + tmux
ssh user@ip
如果你愿意,可以告诉我:
- ✅ Ubuntu 版本(20.04 / 22.04 / 24.04)
- ✅ 用 SecureCRT 连 本地 / 云服务器 / 串口
- ✅ 是否需要 跳板机 / 多跳 SSH
我可以给你更精确的配置方案。