使用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的官方文档或相关社区论坛寻求帮助。