使用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的官方文檔或相關社區論壇尋求幫助。