Hello,I wanted to set the timeout of ssh to 4 hours.When I type the command:
set applications application junos-ssh inactivity-timeout 14400
Do I get the following message:
error: cannot use reserved identifier: junos-ssh
Software version is: Junos: 18.4R1.8
How did I set the timeout high?
Thank you for your help
Go to Solution.
Create a custom application and use that application in your policy:
set applications application my-ssh protocol tcp destination-port 22 inactivity-timeout 14400
set security policies from-zone A to-zone B policy Allow-SSH match application my-ssh
Is there another way?With our old SRX3600 this worked without a problem.My problem is that I would have to cash out ssh in my-ssh with a lot of rules.
Unfortunately there is no other way. Editing pre-defined applications are not not allowed from version 15.1X49 onwards. Please create a custom application if you would like to change inactivity-timeout
It is easy replace old application name with new application name. Please use "replace pattern junos-ssh with my-ssh"
© 1999 - 2019 Juniper Networks, Inc.
All rights reserved