使用SecureCRT连接Ubuntu虚拟机或服务器,可以按照以下步骤进行:
sudo dpkg -i scrt-9.2.3-2829.ubuntu20-64.x86_64.deb
如果安装过程中提示缺少依赖包,可以使用apt-get
命令安装缺少的依赖包。sudo apt-get update
sudo apt-get install openssh-server
sudo systemctl start ssh
sudo systemctl enable ssh
sudo systemctl status ssh
中文显示乱码:
连接被拒绝:
sudo ufw disable
密钥交换方法不兼容:
/etc/ssh/sshd_config
。HostKeyAlgorithms=+ssh-rsa,ssh-dss
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
sudo systemctl restart sshd
通过以上步骤,您应该能够成功使用SecureCRT连接到Ubuntu系统。如果遇到其他问题,可以参考SecureCRT的官方文档或相关社区论坛寻求帮助。