首页 > 其他分享 >Kylin配置ssh支持secureCRT7.0版本登录

Kylin配置ssh支持secureCRT7.0版本登录

时间:2024-07-12 16:42:24浏览次数:7  
标签:sha2 hellman no ecdh secureCRT7.0 ssh diffie Kylin sha256

环境:

OS:Kylin-Server-10-SP2-x86-Release-Build09-20210524

 

1.修改配置文件

vi /etc/ssh/sshd_config

 

Protocol 2
LogLevel VERBOSE
PubkeyAuthentication yes
RSAAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
PermitUserEnvironment no
#Ciphers aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]
ClientAliveCountMax 0
Banner /etc/issue.net
#MACs hmac-sha2-512,[email protected],hmac-sha2-256,[email protected]
StrictModes yes
AllowTcpForwarding no
AllowAgentForwarding no
GatewayPorts no
PermitTunnel no
#KexAlgorithms curve25519-sha256,[email protected],diffie-hellman-group-exchange-sha256
KexAlgorithms [email protected],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

 

红色的注释掉,新增绿色的部分

KexAlgorithms [email protected],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

 

2.重新启动ssh

systemctl restart sshd

 

标签:sha2,hellman,no,ecdh,secureCRT7.0,ssh,diffie,Kylin,sha256
From: https://www.cnblogs.com/hxlasky/p/18298810

相关文章

  • Vscode ssh远程连接Linux服务器登录时密码password无法输入
    问题最近在用Vscode远程连接Linux服务器时,在终端提示输入密码password的时候用键盘输入没有反应。以为是键盘坏了,然后尝试复制粘贴没有用。后来找到了原因以及解决方法,感谢原帖作者(原贴链接粘在下面)原因其实系统已经接受密码了,主要错觉是由于人们经常使用的系统的密码......
  • ssh免密码登录
    一、本地创建ssh秘钥ssh-genkey-trsa#生成的文件在当前用户的~/.ssh目录下二、将本地生成的公钥上传到服务器1.ssh-copy-idusername@ip-pport#需要知道服务器密码2.将公钥内容或文件写入到服务器的authorized_keys文件#用于通过堡垒机登录服务器不知道密码的......
  • Boost Security with SSH/SFTP Public
    BoostSecuritywithSSH/SFTPPublicSocketTools.NETEditioneliminatespasswordvulnerabilitiesandsimplifiesaccessmanagementforsecurefiletransfersandservercommunication.SocketTools.NETEditionbyCatalystDevelopmentCorp.isade......
  • 国密证书(gmssl)在Kylin Server V10下安装
    1.查看操作系统信息[root@localhost~]#cat/etc/.kyinfo [dist]name=Kylinmilestone=Server-V10-GFB-Release-ZF9_01-2204-Build03arch=arm64beta=Falsetime=2023-01-0911:04:36dist_id=Kylin-Server-V10-GFB-Release-ZF9_01-2204-Build03-arm64-2023-01-0911:04:......
  • 手动编译安装OpenSSL与OpenSSH
    1、安装必要工具yuminstall-ytarzlib-devel2、编译安装OpenSSLcd/usr/local/srcwgethttps://www.openssl.org/source/openssl-1.1.1w.tar.gztar-xvzfopenssl-1.1.1w.tar.gzcdopenssl-1.1.1w./config--prefix=/usr/local/openssl--openssldir=/usr/local/opens......
  • Shell实战之SSH+Shell脚本实现远程控制多主机
    问题引入我在学习Hadoop,Spark等框架时,发现配置伪分布式环境时经常需要同时控制多台主机,Moba自带的MultiExec并不适合同时控制4台以上的主机。因此我自己设计了一段简单的shell脚本实现了这一功能。准备在使用这个脚本之前需要预先实现集群间的IP地址映射vim/etc/hosts按......
  • sshd管理限制登录配置(centos7.9)
    背景情况:为了公网的主机,被无限的密码爆破,需要对主机的ssh进行安装加固1、首先要禁用root的远程登录和修改ssh的端口vi /etc/ssh/sshd_config#修改端口,不适用22端口作为ssh的登录端口Port10000#修改ssh的root远程登录禁用PermitRootLoginno2、新加一个管理用户,配置免密sudo......
  • 04 安装SSH
    因为每一个老嵌入式都喜欢使用他的老windows进行开发,因此我决定使用SSH来开发rust,这样也不用在虚拟机里边再装一个vscode.参考博客如何在windows下使用vscode连接linux虚拟机进行代码开发_windowsvscode编辑linux文件-CSDN博客Windows环境使用VSCode调试Linux环境C/C++代......
  • linux学习之登录密码(ssh/telnet)
    在Linux系统中,用户登录密码是用于安全验证用户身份的一种方式。登录密码通常是加密后存储在系统的/etc/shadow文件中。如果您想要获取Linux系统中用户的登录密码,这通常是不可能的,因为密码是经过加密处理的,而且出于安全考虑,没有直接的方式可以获取它们的明文形式。/etc/passwd......
  • SSH内网穿透(SSH端口转发)
    一、远程端口转发 当有一台local主机,想要访问另一台local主机C,A和C不在同一局域网,但无法访问且有一台公网服务器,A和C都可以向B发起SSH连接可做以下操作实现A->C,即A访问CC发起远程端口转发命令,实现将C和B两个端口之间的流量转发:ssh-RserverB_port:localhost:localC_port......