10-17-2023 09:00 AM
vi My_SSH_Policy.pol i entry AllowTheseSubnets { if match any { source-address 10.0.0.0 /24 ; source-address 10.0.1.0 /24 ; } then { permit; } } |
Slot-1 SW1.1 # ls -rw-r--r-- 1 admin admin 966 Oct 17 14:52 My_SSH_Policy.pol <output omitted> Slot-1 SW1.2 # |
Slot-1 SW1.2 # Slot-1 SW1.2 # configure ssh2 access-profile My_SSH_Policy.pol Error: Policy /config/My_SSH_Policy.pol.pol does not exist on file system Configuration failed on backup Node, command execution aborted! Slot-1 SW1.3 # Slot-1 SW1.3 # Slot-1 SW1.3 # check pol My_SSH_Policy.pol Error: Policy My_SSH_Policy.pol does not exist on file Slot-1 SW1.4 # |
Solved! Go to Solution.
10-18-2023 06:41 AM
Hi,
the error message looks like that you shoud not ud .pol:
> Slot-1 SW1.2 # configure ssh2 access-profile My_SSH_Policy.pol
> Error: Policy /config/My_SSH_Policy.pol.pol does not exist on file system
> Configuration failed on backup Node, command execution aborted!
Whats happend if you try (without .pol):
configure ssh2 access-profile My_SSH_Policy
Regards,
Axel
10-18-2023 06:41 AM
Hi,
the error message looks like that you shoud not ud .pol:
> Slot-1 SW1.2 # configure ssh2 access-profile My_SSH_Policy.pol
> Error: Policy /config/My_SSH_Policy.pol.pol does not exist on file system
> Configuration failed on backup Node, command execution aborted!
Whats happend if you try (without .pol):
configure ssh2 access-profile My_SSH_Policy
Regards,
Axel
10-19-2023 04:48 AM
When I try that it works!