首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >没有找到匹配的mac :客户端hma-sha2-512-etm@openssh.com、hma-sha2-256-etm@openssh.com、hma-sha2-512、hma-sha2-256服务器hmac 1。

没有找到匹配的mac :客户端hma-sha2-512-etm@openssh.com、hma-sha2-256-etm@openssh.com、hma-sha2-512、hma-sha2-256服务器hmac 1。
EN

Stack Overflow用户
提问于 2018-09-17 06:55:51
回答 1查看 6.1K关注 0票数 1

我在运行我的脚本时出错,我在AIX上

代码语言:javascript
复制
Reading configuration data /ecmsq1vg1/home1/aradmin/.ssh/config
Reading configuration data /etc/ssh_config
Connecting to www.mftcatapp.firstdataclients.com, port 22.
Remote version string: SSH-2.0-Sun_SSH_1.1.8
Remote protocol version 2.0, remote software version Sun_SSH_1.1.8
Net::SSH::Perl Version 2.14, protocol version 2.0.
No compat match: Sun_SSH_1.1.8.
Connection established.
Sent key-exchange init (KEXINIT), waiting for response.
No matching mac found: client hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256 server hmac-sha1 at /apps/perl/lib/site_perl/5.18.1/aix-thread-multi/Net/SSH/Perl/SSH2.pm line 273

有人能帮我找出我为什么要面对上述错误吗?

EN

回答 1

Stack Overflow用户

发布于 2018-09-17 07:33:50

perldoc Net::SSH::Perl

完整性检查由hmac-sha2-256hmac-sha2-512hmac-sha2-256-etm@openssh.comhmac-sha2-512-etm@openssh.com算法执行。不推荐的hmac-sha1hmac-md5算法是可用的,但默认情况下不启用。许多较老的SSH服务器安装仍然使用hmac-sha1 1作为主要接受的MAC算法。若要启用此功能,请使用以下选项参数: 选项=>“hmac +hmac-sha1”

因此,要么将服务器配置为不使用hmac-sha1进行完整性检查,要么告诉脚本接受hmac-sha1

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52362274

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档