#1
|
||||
|
||||
![]()
Hi,
My version is 5.5, I have a firewall settings named "MyFirewall" in global options, how can I specify it in my script? Or can I specify the firewall settings instead of the firewall name? I'v tried the following ways, but didn't work...
Thanks for help. ss |
#2
|
|||
|
|||
Hi seesea,
Thanks for the question. This is a known issue in SecureCRT 5.5. You should be able to accomplish your goal by upgrading to SecureCRT 6.0.3 or newer. If you need to use multiple firewalls, then you would need to use pre-defined sessions in your script. If you do not need to use multiple firewalls, then you could define the firewall for the Default Session and use the ad hoc sessions that you appear to be using. Does this help resolve the issue? |
#3
|
||||
|
||||
Quote:
Thanks again. |
#4
|
|||
|
|||
Hi seesea,
Thanks for the update. I am glad to hear that you found a solution to the issue. |
#5
|
||||
|
||||
Hi Todd, Sorry troubling you again, I got a little trouble: I can't specified the /SSH2 /ACCEPTHOSTKEYS options when I using the pre-defined sessions.
And another question I'd post in this issue. Thanks for your help! ss |
#6
|
|||
|
|||
Hi seesea,
Thanks for the question. You do not need to specify /SSH2 when using a pre-defined session. This setting should be defined in the session already. I would recommend connecting to the remote host manually prior to using the script. This will populate the hostkey database eliminating the need to use /ACCEPTHOSTKEYS. Does this help? Another option would be to upgrade SecureCRT which would allow you to use a firewall with ad hoc sessions. |
#7
|
||||
|
||||
Thank you Todd, while opening the "connect" dialog is a bit slow for I have thousands of sessions saved, so I created some scripts for help. Then it doesn't matter that manually close the accept hostkeys dialog, only sometimes.
Thanks again for all your help. ss |
#8
|
|||
|
|||
Hi seesea,
Thanks for the update. I am happy to help. Please let us know if you have any additional questions. |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|