Junos OS

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

SSH remote access configuration?

  • 1.  SSH remote access configuration?

    Posted 06-14-2021 22:16
    I have a EX2200-C switch and I need to be able to access it remotely through SSH.

    What are the commands to setting this up?

    Thanks,


  • 2.  RE: SSH remote access configuration?

     
    Posted 06-15-2021 01:42
    Hi,
    that depends a little on what you already have:
    A) an IP on an interface (perferably start with outband management): set interfaces me0 unit 0 family inet address 10.0.0.1/24
    B) an account to login in to/with: set system login user <username> auth plain (you'll get prompted to enter a password, same twice)
                                                                              set system login user <username> class super-user
    C) enable ssh: set system services ssh
    Regards
    Ulf