182
Chapter 14: Command Line Configuration
SDT mode
To enable access over SSH to a host connected to serial port 5:
# config -s config.ports.port5.mode=sdt
# config -s config.ports.port5.sdt.ssh=on
TocongureausernameandpasswordwhenaccessingthisportwithUsername=user1andPassword=secret:
# config -s config.ports.port#.sdt.username=user1
# config -s config.ports.port#.sdt.password=secret
Terminal server mode
Enable a TTY login for a local terminal attached to serial port 5:
# config -s config.ports.port5.mode=terminal
# config -s config.ports.port5.terminal=[vt220 | vt102 | vt100 | linux | ansi]
The default terminal is vt220
Serial bridge mode
CreateanetworkconnectiontoaremoteserialportviaRFC-2217onport5:
# config -s config.ports.port5.mode=bridge
OptionalcongurationsforthenetworkaddressofRFC-2217serverof192.168.3.3andTCPportusedbytheRFC-2217
service = 2500:
# config -s config.ports.port5.bridge.address=192.168.3.3
# config -s config.ports.port5.bridge.port=2500
ToenableRFC-2217access:#cong-scong.ports.port5.bridge.rfc2217=on
ToredirecttheserialbridgeoveranSSHtunneltotheserver:#cong-scong.ports.port5.bridge.ssh.enabled=on
Syslog settings
Additionally,theglobalsystemlogsettingscanbesetforanyspecicport,inanymode:
# config -s config.ports.port#.syslog.facility='facility'
'facility' can be:
Default
local 0-7
auth
authpriv
cron
daemon
ftp
kern
lpr
mail
news
user
uucp
# config -s config.ports.port#.syslog.priority='priority'
'priority' can be:
Default
warning
notice
Info
error
emergency
debug
critical
alert