电脑计算机论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 15|回复: 0

华为sw如何禁止使用 arcfour、aes128-cbc、blowfish-cbc、3des-cbc 等弱加密算法

[复制链接]
admin 发表于 4 天前 | 显示全部楼层 |阅读模式
#1、加密算法:只启用CTR/GCM,自动排除所有CBC、arcfour、blowfish

ssh server cipher aes128_ctr aes192_ctr aes256_ctr aes128_gcm aes256_gcm

#2、MAC校验算法:禁用md5、sha1弱算法,只保留sha2系列
ssh server hmac sha2_256 sha2_512

#3、密钥交换算法,禁用dh‑group1、dh‑group14‑sha1弱交换
ssh server key‑exchange ecdh_sha2_nistp256 ecdh_sha2_nistp384

#4、公钥算法,禁用dsa弱密钥
ssh server publickey rsa_sha2_256 rsa_sha2_512 ecc

#强制只使用SSHv2(禁止SSHv1)
stelnet server disable version 1

acl  number 2001
description VTY_ACL
rule 5 permit   source 192.168.1.1 0
rule 6 permit source  192.168.1.254 0
rule 255 deny

ssh  server  acl 2001
或者

line  vty  0 4
acl inbound 2001

您需要登录后才可以回帖 登录 | 注册

本版积分规则


QQ|手机版|小黑屋|电脑计算机论坛 ( 京ICP备2022023538号-1 )

GMT+8, 2026-8-15 03:43 , Processed in 0.071212 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表