[HPE] Cấu hình SSH Server trên Switch HPE

Thảo luận trong 'Tổng hợp' bắt đầu bởi nhatquangit, 4/8/23.

  1. nhatquangit

    nhatquangit Member

    Trong bài viết này sẽ giới thiệu các bạn cách cấu hình SSH Server trên thiết bị Switch HPE dùng để quản lý từ xa thiết bị.

    - Đầu tiên cấu hình IP, dùng để truy cập đến Switch, trong ví dụ này sẽ thiết lập IP trên Vlan 1.

    <Core>system-view
    [Core]interface vlan 1
    [Core -Vlan-interface1]ip address 192.168.10.1 24
    [Core -Vlan-interface1]quit

    - Tạo RSA key pairs

    [Core]public-key local create rsa
    The range of public key modulus is (512 ~ 4096).
    If the key modulus is greater than 512, it will take a few minutes.
    Press CTRL+C to abort.
    Input the modulus length [default = 1024]:
    Generating Keys...
    .
    Create the key pair successfully.

    - Bật SSH server.

    [Core]ssh server enable

    - Tạo user dùng để quản lý thiết bị.

    [Core]local-user user01 class manage
    [Core-luser-manage-user01]password simple admin12345
    [Core-luser-manage-user01]service-type ssh
    [Core-luser-manage-user01]authorization-attribute user-role network-admin
    [Core-luser-manage-user01]quit

    - Bật authentication-mode là scheme trên line vty

    [Core]line vty 0 63
    [Core-line-vty0-63]authentication-mode scheme
    [Core-line-vty0-63]quit

    - Kiểm tra kết nối đến Switch.


    [​IMG]

    !!!! Cảm ơn các bạn đã theo dõi bài viết !!!!
     

trang này