lunash sysconf ssh Commands
NAME
sysconf ssh device - Sets SSH device restriction - Set SSH device restriction
SYNOPSIS
lunash:> sysconf ssh device <netdevice>
DESCRIPTION
Set SSH device restriction.
SUBCOMMANDS
none
OPTIONS
-<netdevice> Can be any of lo, eth0, eth1, or all.
Setting eth0 or eth1 restricts SSH to that device.
Setting "all" removes the restriction.
SAMPLE OUTPUT
[myLuna] lunash:>sysconf ssh device all
WARNING: SSH is already restricted to the specified IP address / ethernet
card. No changes made.
Command Result : 0 (Success)
[myLuna] lunash:>
[myluna] lunash:>sysconf ssh device eth1
Success: SSH now restricted to ethernet device eth1 (ip address 192.168.255.2).
Restarting ssh service.
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
Command Result : 0 (Success)
[myluna] lunash:>sysconf ssh show
SSHD configuration:
SSHD Listen Port: 22 (Default)
SSH is restricted to ethernet device eth1 (ip address 192.168.255.2).
Password authentication is enabled
Public key authentication is enabled
Command Result : 0 (Success)
[myluna] lunash:>