下面按“在 Debian 上让 SecureCRT 能连进来 / 用起来”的常见场景来说明。SecureCRT 本身是 Windows / macOS / Linux 客户端,Debian 一般作为被连接的服务端(SSH 服务器),或你在 Debian 上安装 SecureCRT 客户端。
sudo apt update
sudo apt install openssh-server
sudo systemctl enable --now ssh
检查状态:
systemctl status ssh
编辑配置文件:
sudo nano /etc/ssh/sshd_config
常见安全配置:
Port 22
PermitRootLogin no
PasswordAuthentication yes # 或 no(用密钥)
PubkeyAuthentication yes
修改后重启:
sudo systemctl restart ssh
sudo ufw allow 22
在 SecureCRT 中:
ssh-keygen
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
id_rsa 导入 SecureCRTSecureCRT 官方提供 Linux 版本(*.tar.gz / *.deb)
从官网: https://www.vandyke.com/products/securecrt/
sudo dpkg -i scrt-*.deb
sudo apt -f install
securecrt
SecureCRT:
Session Options → Terminal → Appearance → Font → 选中文字体
Encoding → UTF-8
PermitRootLogin prohibit-password
或新建普通用户
如果你是指:
可以告诉我具体用途,我可以给你更针对性的配置。