Updated Date: 07/07/2026
Create and associate a logging profile for SSH proxy events
Create an SSH logging profile to specify the events that are logged for SSH proxy. Use a unique name for the log profile, and specify the log publisher you created for SSH Proxy events.
-
On the Main tab, click Security > Event Logs > Logging Profiles.
The Logging Profiles list screen opens.
-
Click Create.
The Create New Logging Profile screen opens.
-
In the Profile Name field, type a unique name for the profile.
-
Select the Protocol Security check box.
-
In the SSH Proxy area, from the Publisher list, select the log publisher you created.
-
To log client authentication failures, for Log Client Auth Fail Event, click Enabled.
-
To log successful client authentications, for Log Client Auth Success Event, click Enabled.
-
To log partial client events, for Log Client Auth Partial Event, click Enabled.
-
To log server authentication failures, for Log Server Auth Fail Event, click Enabled.
-
To log successful server authentications, for Log Server Auth Success Event, click Enabled.
-
To log partial server events, for Log Server Auth Partial Event, click Enabled.
-
To log disallowed channel action, for Log Disallowed Channel Action, click Enabled.
-
To log allowed channel action, for Log Allowed Channel Action, click Enabled.
-
To log SSH timeouts, for Log SSH Timeout Event, click Enabled.
-
To log Non-SSH timeouts, for Log Non-SSH Timeout Event, click Enabled.
-
Click Finished to create the SSH logging profile.
Tip: To create the SSH logging profile at the command line, create the log profile with the following command:
tmsh create sec log profile <*log\_profile\_name*> ssh-proxy add { ssh-log { log-publisher <*log\_publisher\_name*> allowed-channel-action enabled disallowed-channel-action enabled ssh-timeout enabled non-ssh-traffic enabled successful-server-side-auth enabled unsuccessful-client-side-auth enabled unsuccessful-server-side-auth enabled }} -
To associate the logging profile with the SSH virtual server, click Local Traffic > Virtual Servers.
-
Click the name of the SSH virtual server.
-
From the Security menu, choose Policies.
-
For the Log Profile setting:
-
Set it to Enabled.
-
From the Available list, move the SSH logging profile into the Selected list.
You can assign only one local logging profile to a virtual server, but it can have multiple remote logging profiles.
-
-
Click Update.
A logging profile that includes the SSH proxy events is created and associated with the SSH virtual server.