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

Description

Enable/disable SSH access

Implementation notes

Start or stop ssh daemon, flag is in "network" configuration file
SSHD only use sshv2 with public key but if Password is set the ssh
connection will accept both key and password mode

Usage

State=[0|1] Userpass=[0|1] Port=[number|object]

Returns

Error code (if parameter) or :
State= : state of service
Userpass= : specify if password mode is on/off
Port= : port used by service

Remark

Admin and Modify levels are required to update configuration

Example

CONFIG SSH UPDATE State=1 Userpass=1 Port=gopher