非常奇怪的openssh连接问题

weixin_38060280 weixin_38060280 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

在一台sun的机器上 操作系统是solaris10,安装openssh替代系统的ssh。
安装完毕后发现
如果客户端是 linux或者solaris,通过命令行能登陆该机器。
但客户端是windows,使用SecureCRT或putty均无法登陆。

SecureCRT连接时候的详细日志如下



SecureCRT - Version 5.1.0 (build 263)
[本地]:SSH2Core version 4.1.0.254
[本地]:Connecting to 10.64.46.26:22 ...
[本地]:Changing state from STATE_NOT_CONNECTED to STATE_EXPECT_KEX_INIT.
[本地]:Using protocol SSH2
[本地]:RECV : Remote Identifier = "SSH-2.0-OpenSSH_4.1"
[本地]:CAP  : Remote can re-key
[本地]:CAP  : Remote sends language in password change requests
[本地]:CAP  : Remote sends algorithm name in PK_OK packets
[本地]:CAP  : Remote sends algorithm name in public key packets
[本地]:CAP  : Remote sends algorithm name in signatures
[本地]:CAP  : Remote sends error text in open failure packets
[本地]:CAP  : Remote sends name in service accept packets
[本地]:CAP  : Remote includes port number in x11 open packets
[本地]:CAP  : Remote uses 160 bit keys for SHA1 MAC
[本地]:CAP  : Remote supports new diffie-hellman group exchange messages
[本地]:CAP  : Remote correctly handles unknown SFTP extensions
[本地]:CAP  : Remote correctly sends UTF8 where UTF8 is specified
[本地]:CAP  : Remote correctly encodes OID for gssapi
[本地]:CAP  : Remote correctly uses connected addresses in forwarded-tcpip requests
[本地]:CAP  : Remote is IETF-DRAFT compliant
[本地]:CAP  : Remote VShell can do SFTP version 4
[本地]:CAP  : Remote x.509v3 uses ASN.1 encoding for DSA signatures
[本地]:SEND : KEXINIT
[本地]:RECV : Read kexinit
[本地]:Available Remote Kex Methods = diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
[本地]:Selected Kex Method = diffie-hellman-group-exchange-sha1
[本地]:Available Remote Host Key Algos = ssh-rsa,ssh-dss
[本地]:Selected Host Key Algo = ssh-dss
[本地]:Available Remote Send Ciphers = aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
[本地]:Selected Send Cipher = aes256-cbc
[本地]:Available Remote Recv Ciphers = aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
[本地]:Selected Recv Cipher = aes256-cbc
[本地]:Available Remote Send Macs = hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
[本地]:Selected Send Mac = hmac-sha1
[本地]:Available Remote Recv Macs = hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
[本地]:Selected Recv Mac = hmac-sha1
[本地]:Available Remote Compressors = none,zlib
[本地]:Selected Compressor = zlib
[本地]:Available Remote Decompressors = none,zlib
[本地]:Selected Decompressor = zlib
[本地]:Changing state from STATE_EXPECT_KEX_INIT to STATE_KEY_EXCHANGE.
[本地]:SEND : KEXDH_GEX_REQUEST
[本地]:RECV : KEXDH_GEX_GROUP
[本地]:SEND : KEXDH_INIT
[本地]:RECV: TCP/IP close
[本地]:Changing state from STATE_KEY_EXCHANGE to STATE_CLOSED.
[本地]:Connected for 0 seconds, 743 bytes sent, 1732 bytes received

复制代码
openssh的包是sunfreeware 下的,应该没什么问题。
哪位在solaris10下安装过openssh呢,需要注意哪些配置呢?
包括windows下的winscp,都无法连接。 [ 本帖最后由 gig2600 于 2007-1-23 17:15 编辑 ]
...全文

相关推荐

dev:发展形象

码头0 / dev ) 开发容器。 基本上是带有一些有用的软件包。 对于调试奇怪的网络/容器事件很有用。 包装清单 dnsutils 吉特 停止 inetutils iputils lsof 人数据库 网络工具 纳帕 openbsd-netcat 的openssh 伪造的 屏幕 袜子 痕迹 tcpdump 多路复用器 树 最小的 执照 此回购协议是根据MIT许可证发布的。 有关详细信息,请参见捆绑的LICENSE文件。

孙洋 Sonya

OpenSSH 搭建 SFTP 服务器

OpenSSH搭建sftp sftp加密传输,设置也简单。ftp是不安全的协议 查看版本 版本不同会遇到一些奇怪问题 [root@VM-7-27-centos ~]# ssh -V OpenSSH_8.0p1, OpenSSL 1.1.1c FIPS 28 May 2019 编辑配置 # 端口号 Port 22 # 打开 sftp Subsystem sftp internal-sftp # 针对 sftp 用户组的设置 Match Group sftp ChrootD

峽谷一哥

告别命令行!用SourceTree+SSH一键连接GitLab的完整指南(附OpenSSH配置)

本文提供了一份详细的图文指南,教你如何在不使用命令行的情况下,通过配置OpenSSH客户端和SSH密钥,实现SourceTree与GitLab的一键安全连接。文章涵盖了从环境准备、密钥生成、GitLab公钥部署到SourceTree客户端配置的全过程,旨在为开发者构建一个高效、流畅的可视化Git工作流,告别复杂的命令记忆。

NewbeeSmart

无法把代码推到gitee故障解决(OpenSSH签名算法不兼容)

忽然发现用公钥无法把代码推到gitee,原来是我使用的OpenSSH太新,已经废弃掉了ssh-rsa签名算法,而gitee服务器的OpenSSH使用的签名算法还是ssh-rsa,签名算法不兼容,于是无法认证,无法网上推代码。

sha256sum

OpenSSH CVE-2024-6387漏洞深度解析:原理、影响与修复指南

在网络安全领域,远程代码执行漏洞因其可直接威胁系统控制权而备受关注。其原理通常涉及内存管理缺陷或竞态条件,攻击者通过精心构造的输入触发异常,实现权限提升。这类漏洞的技术价值在于揭示了底层系统交互的复杂性,尤其在处理异步事件(如信号)时,细微的时序问题可能导致严重的安全边界突破。应用场景广泛存在于各类网络服务中,尤其是像OpenSSH这样的核心远程管理组件。本文聚焦于近期披露的OpenSSH严重漏洞CVE-2024-6387(regreSSHion),该漏洞源于信号处理中的竞态条件,允许远程攻击者在特定条件下

weixin_33997389
评论 6
收藏 已收藏
分享
返回顶部