Comware

 View Only
last person joined: yesterday 

Expand all | Collapse all

SSH Access

This thread has been viewed 2 times
  • 1.  SSH Access

    Posted 4 hours ago

    Hi,

    I'm writing to you, because I would like to know, how to autorize SSH access on a single IP on our switches.

    Thanking you for your responses

    Sincerely,



  • 2.  RE: SSH Access

    Posted 15 minutes ago

    Try this (from a Comware 7 MSR router)

    #
    line vty 0 63
     authentication-mode scheme
     user-role network-admin
     user-role network-operator
     protocol inbound ssh
     idle-timeout 30 0
     history-command max-size 128
    #
     ssh server enable
     ssh server acl 2016
    #
    acl basic 2016
     description Restrict VLAN 16 users
     rule 10 deny source 10.10.16.0 0.0.3.255
     rule 15 permit source 10.0.0.0 0.255.255.255
     rule 72 permit source 172.20.100.0 0.0.0.255
    #


    ------------------------------
    Richard Litchfield
    Airheads MVP 2020, 2021, 2022
    ------------------------------