0755mx 发表于 2018-7-24 13:19:01

华为SSH配置

  配置路由器IP基础
  sys R1
  inter g0/0/0
  ip add 192.168.233.200 24
  q
  可选命令是重新生成RSA密钥对,因为默认已经存在有了
  rsa local-key-pair create
  The key name will be: Host
  % RSA keys defined for Host already exist.
  Confirm to replace them? (y/n):y

  The range of public key>  NOTES: If the key modulus is greater than 512,
  It will take a few minutes.
  Input the bits in the modulus:1024
  Generating keys...
  .++++++
  ......................++++++
  .++++++++
  .....++++++++
  #开启SSH服务并创建账号
  stelnet server enable
  aaa
  local-user ssh001 privilege level 3 password cipher ssh001
  local-user ssh001 service-type ssh
  q
  #配置VTY上允许SSH协议
  user-interface vty 0 4
  authentication-mode aaa
  protocol inbound ssh
页: [1]
查看完整版本: 华为SSH配置