CONFIG SSH UPDATE
Level
admin
History
Userpass Appears in Netasq 6.0.0
Password deprecated in Netasq 6.0.0
Port Appears in Netasq 6.1.0
command was moved from CONFIG CONSOLE SSH to CONFIG SSH UPDATE in 4.2.0
CLIShell Appears in 4.3.0
LogAdmin Appears in 4.3.0
Description
Enable/disable SSH access
Usage
State=[0|1] Userpass=[0|1] Port=[object] CLIShell=[0|1] LogAdmin=[0|1]
Returns
Error code (if parameter) or :
State= : state of service
Userpass= : specify if password mode is on/off
Port= : port used by service
CLIShell= : specify if remote user login shell is nsrpc (1) or shell (0)
LogAdmin= : specify wether admin authentications should be logged to l_auth (1) or not (0)
Remark
Admin and Modify levels are required to update configuration
Example
CONFIG SSH UPDATE State=1 Userpass=1 Port=gopher