下面给你一份**在 Debian 上安装并配置 SecureCRT(或理解成“用 SecureCRT 连接 Debian”)**的实用说明。先确认你是哪种需求:
SecureCRT 官方支持 Linux(含 Debian),但是商业软件,需要授权。
官网:
https://www.vandyke.com/products/securecrt/
选择:
sudo dpkg -i scrt-*.deb
sudo apt -f install # 修复依赖
securecrt
或菜单中搜索 SecureCRT
这是最常见情况。
sudo apt update
sudo apt install openssh-server
sudo systemctl enable --now ssh
查看 IP:
ip a
Debian 上生成密钥:
ssh-keygen
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
SecureCRT 导入私钥:
id_rsa(从 Debian 拷出来)sudo ufw allow 22systemctl status sshDebian 默认禁止 root SSH:
sudo nano /etc/ssh/sshd_config
PermitRootLogin no
改完后:
sudo systemctl restart ssh
如果你能告诉我:
我可以给你更精确的步骤。