在评估的配置上配置 SSH
SSH 是评估配置中允许的远程管理接口。本主题介绍如何在设备上配置 SSH。
-
开始之前,请使用设备上的 root 帐户登录。
要在设备上配置 SSH,请执行以下作:
注意:
要禁用 SSH 服务,您可以停用 SSH 配置:
root@host# deactivate system services ssh
注意:
要禁用 Netconf 服务,您可以停用 netconf 配置:
root@host# deactivate system services netconf ssh
支持的 SSH 主机密钥算法:
ssh-ecdsa Allow generation of ECDSA host-key ssh-rsa Allow generation of RSA host-key
支持的 SSH 密钥交换算法:
dh-group14-sha1 The RFC 4253 mandated group14 with SHA1 hash ecdh-sha2-nistp256 The EC Diffie-Hellman on nistp256 with SHA2-256 ecdh-sha2-nistp384 The EC Diffie-Hellman on nistp384 with SHA2-384 ecdh-sha2-nistp521 The EC Diffie-Hellman on nistp521 with SHA2-512
支持的 MAC 算法:
hmac-sha1 Hash-based MAC using Secure Hash Algorithm (SHA1) hmac-sha2-256 Hash-based MAC using Secure Hash Algorithm (SHA2) hmac-sha2-512 Hash-based MAC using Secure Hash Algorithm (SHA2)
支持的 SSH 密码算法:
aes128-cbc 128-bit AES with Cipher Block Chaining aes128-ctr 128-bit AES with Counter Mode aes256-cbc 256-bit AES with Cipher Block Chaining aes256-ctr 256-bit AES with Counter Mode