Screen OS

last person joined: 8 months ago 

This is a legacy community with limited Juniper monitoring.
  • 1.  WebUI and SSH timeout

    Posted 01-20-2009 05:22

    I seem to have locked myself from connecting to my SSG 550 remotely.  I can still console into the box.

     

    Logging into and out of the firewall to  run the debug commands and now I seem to be locked out. All ssh and webui sessions time out.  Is there a way to recover from this other than restart? I am sure that I turned off the debug commands.  

     

    Is there a way to clear ssh session like the cisco "clear line vty"  command?



  • 2.  RE: WebUI and SSH timeout
    Best Answer

    Posted 01-20-2009 06:32

    You can try this

     

    Do a "get socket"

     

    and then clear the stuck connection by "clear socket id "socket value"

     

    In the example below I want to clear a telnet session.  Socket number 122 has telnet open.

     

    fw01-> get socket
     Socket  Type   State      Remote IP         Port    Local IP         Port
          0  tcp     close      0.0.0.0              0    0.0.0.0             0
          1  tcp4/6  listen     ::                   0    ::                443
          2  tcp4/6  listen     ::                   0    ::                 23
          3  tcp4/6  listen     ::                   0    ::                 22
         12  tcp     close      0.0.0.0              0    0.0.0.0             0
         14  tcp4/6  listen     ::                   0    ::               6969
         70  tcp     open       10.1.1.1       1468    10.1.1.2     1114
         89  tcp     close      0.0.0.0              0    0.0.0.0             0
         90  tcp     close      0.0.0.0              0    0.0.0.0             0
         91  tcp     close      0.0.0.0              0    0.0.0.0             0
        122  tcp     open       172.2.2.2     4857    172.3.3.3        23
        205  tcp     open       10.16.1.1      7800    10.16.1.2       1145
        256  udp4/6  open       ::                   0    ::                500
        257  udp4/6  open       ::                   0    ::               4500
        258  udp4/6  open       ::                   0    ::                500
        259  udp4/6  open       ::                   0    ::               4500
        260  udp     open       0.0.0.0              0    0.0.0.0           161
        261  udp     open       0.0.0.0              0    0.0.0.0             0
        276  udp     open       0.0.0.0              0    0.0.0.0             0
    fw01-> clear socket id 122



  • 3.  RE: WebUI and SSH timeout

    Posted 01-20-2009 08:39

    Thank you. I had used all 256 of my available sockets.

     

     



  • 4.  RE: WebUI and SSH timeout

    Posted 01-16-2013 23:22

    Is there a equivalent command for the JunOS ?