Switching

Expand all | Collapse all

Accessing EX switch remotely without any credentials

Jump to Best Answer
  • 1.  Accessing EX switch remotely without any credentials

    Posted 01-31-2020 15:27

    Hi everybody,

    Is there anyway can we access EX switch over the network without username and password i.e once we connect to EX switch over 

    ssh/telnet etc, EX switch should allow the connection without uername/password?

     

    Thanks and have a good weekend!!



  • 2.  RE: Accessing EX switch remotely without any credentials

     
    Posted 01-31-2020 15:51

    Hi sarahr202,

     

    Greetings, If I'm getting your question right the answer is no, nevertheless, If you don't type the username, ssh will use the username you are currently logged in as but the password is still needed.

     

    eg:

    sarahr202@client$ ssh sarahr202@myserver.com

    is analogous to:

    sarahr202@client$ ssh myserver.com

     

    The only way you don't need a password is when the switch is a brand new ( factory default)  and you log in via console with the root user.

     

    Have you seen this with other vendors? 😮

     

     

    have a good weekend too 🙂
    Lil Dexx JNCIE-ENT#863

     

    If this solves your problem, please mark this post as "Accepted Solution" so we can help others too \:)/

     



  • 3.  RE: Accessing EX switch remotely without any credentials

    Posted 02-05-2020 17:13

    Thanks , you got my question correctly.

    Appreciated!!



  • 4.  RE: Accessing EX switch remotely without any credentials

    Posted 01-31-2020 20:17

    Hello,

     

    It is not clear form Your post if You actually WANT this to happen, or You are trying to prevent this from happening, or are You doing a forensic investigation for unauthorised access attempt(s).

    If You actually want this to happen, then public key authentication is the way to go 

    https://rtodto.net/public-key-authentication-in-junos/

     

    HTH

    Thx

    Alex



  • 5.  RE: Accessing EX switch remotely without any credentials
    Best Answer

     
    Posted 02-01-2020 06:02

    Junos does support creating public key pair authentication for automation servers to access devices without password prompt.  

     

    This kb outlines the process.

    Naturally keep you keys well protected and change them whenever those with access leave the company.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB30588