1.配置linux、CRT,建立SSH连接
Secure Shell:ssh,网络协议,用来加密客户端与服务器端的连接,实现远程连接系统,执行管理员命令。传输协议:scp,sftp
1.1linux端:
#配置CRT运行环境
#启用ssh,装openssh-server软件包
sudo apt update
sudo apt install openssh-server
#2.验证服务启动
sudo systemctl status ssh
#3.设置ubuntu防火墙系统允许ssh
sudo ufw allow ssh
1.2CRT端:
问题描述:
No compatible hostkey. The server supports these methods:rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
处理方法:
#1.高版本的openssh需要增加对旧版本CRT客户端密钥交换算法的支持。
#在配置文件(/usr/etc/sshd_config)中增加密钥交换算法:
HostKeyAlgorithms=+ssh-rsa,ssh-dss
KexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
#2.重启sshd服务
service sshd restart
#相同命令:systemctl restart sshd
1.3
连接,以快速连接为主,ip地址外加登录用户名
2.CRT窗口配置
问题1:窗口乱码
问题2:终端颜色调整
颜色调整,未达到预期效果