Digi 16, TS8 manual Example SSH2 and Menu Access, Example Alternate IP Addresses

Page 57

key is the name of a file that contains the DSA public key. If your host’s implementation requires a complete path to the file, specify the path here as well.

Example: set user name=secure loadkey=143.191.2.34:ssh-file

Example: SSH2 and Menu Access

In this example, a Digi device is configured to use an SSH2 public key, and it presents a menu to the administrator, from which he or she will select a device to manage.

Key aspects of this configuration include the following:

Two ports to which the managed devices are connected specify dev=prn, a device type that does not spawn a login from the Digi device.

A menu specifies connect commands, which when selected provide connections to ports 1 and 2 and the managed systems. The menu also specifies a menu table index number of 6 (on the range parameter), which is then linked to a user with the set user command

set ports dev=prn range=1-2 set line baud=19200 range=1-2

set menu name=menu1 t1="Console Management Menu" range=6

set menu name=menu1 range=6 name="Console Management Menu" m1="Connect to System 1"

set menu name=menu1 range=6 c1="connect 1" m2="Connect to System 2" set menu name=menu1 range=6 c2="connect 2"

set user name=admin1 defaultaccess=menu menu=6 password=on outgoing=on set user name=admin1 loadkey=142.191.2.34:ssh-file1

Example: Alternate IP Addresses

Configuration

In this example, the PortServer TS 8/16 is configured with

Alternate IP addresses using set altip commands, which assign IP addresses to ports 1 and 2. This enables direct access to one of these ports with a Telnet command that specifies one of the IP addresses.

Password protection on ports 1 and 2. This is done with the set auth command.

set ports dev=prn range=1-2 set line baud=19200 range=1-2 set auth login=1-2 range=2

set altip group=1 ip=119.180.33.50 set altip group=2 ip=119.180.33.51

User Command

In this example, a user Telnets to port 1 using an IP address. He/she will be required to log in before access to the port is granted.

telnet 119.180.33.50

Configuring Console Management

10-3

Image 57 Contents
PortServer TS 8/16 Configuration and Administration Guide Page Contents Chapter Configuring Users Page This Chapter IntroductionSetup Overview About Entering Commands on the Command Line About This GuideSupported Devices Other Documents in the Library Access Resource CD CardConfiguring the PortServer TS 8/16 from a Telnet Session About Configuration MethodsConfiguring the PortServer TS 8/16 from the Web Interface Downloading a Configuration FileLogging On As Root from the Command Line Configuration PrerequisitesAccessing the Command Line from a Telnet Session Accessing the Configuration from the Web InterfaceConfiguring the IP Address Options Options for Configuring the IP Address and MaskConfiguring the Ethernet Interface with DPA-Remote ProcedureStarting Point Configuring the IP Address Using Ping-ARP Configuring an IP Address using Dhcp and Rarp Configuring the Ethernet Interface from the Command LineManual Configuration Procedure Manual Configuration ExampleConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort Configuring the RealPort Software What is RealPort?Configuration Options About RealPortConfiguring Ports Web Interface Example Configuring Ports for RealPort Command LineConfiguring Ports for Printers Configuration Considerations Configuring Printer Connections Command Line Configuring Ports for Printers Web InterfaceTips for telnet and rsh Printing Related InformationConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Terminals Configuring Ports for Terminals Web Interface Configuring Ports for Terminals Command LinePort Defaults About Computer Connections Configuring Typical PC ConnectionsAbout Computer Connections Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing What is Routing Introduction to RoutingTypes of Routing About RIP Routing Updates PortServer TS 8/16 Participation in RIP Updates Configuring Static Routes Example Route Using the Ethernet InterfaceExample Route Using a PPP Link Example Dynamic Routes Configuring Dynamic Routes Using RIPConfiguring Proxy ARP Configuring Proxy ARP Configuring Autoconnection Configuring a Port for Autoconnection Web Interface Configuring Autoconnection By Port Command LineAbout Autoconnection Configuring a User for Autoconnection Command Line Configuring a User for Autoconnection Web InterfaceConfiguring a User for Autoconnection Command Line Configuring Console Management Configuring Console Management Web Interface Configuring Console Management Command LineAbout Console Management Example Alternate IP Addresses Example SSH2 and Menu Access10-4 Configuring Security Features Controlling Access to Inbound Ports Controlling Access to the PortServer TS 8/16 ConfigurationControlling Access to the PortServer TS 8/16 Command Line Controlling Access to Outbound PortsWhat is RADIUS? Using Radius to Authenticate UsersRadius Components Radius Table KeyConfiguring Radius Web Interface Radius Accounting Attributes RFCHow Radius Works Radius Command Line Configuration Example Configuring Radius Command LineIssuing User Passwords Configuring SSH Version 2 for Secure Communication Password ProtectionUsing a Public Key Configuring DNS About the Domain Name System Configuration Procedures Procedure for Using a Name ServerProcedure for Using a Host File 13-4 Configuring Snmp About Snmp and the PortServer TS 8/16 Agent Configuration Procedure Web Interface Configuration Procedure Command LineConfiguration Example 14-4 Managing the OS and Configuration Upgrading the OS Firmware Web Interface Prerequisite Task Upgrading the OS Firmware Command LineWhen To Use Remote Configuration Configuring PortServer TS 8/16 from a Remote HostRules for Editing a Configuration file Copying the Configuration File to a HostCpconf fromhost=199.250.121.12cnfg-fle Radius Resetting the Configuration to DefaultsConfiguring Users About Configuring Users Common User FeaturesConfiguration Methods Configuring a User Web Interface Configuring a User Command Line Examples Configuration Examples Configuration Terminal Server Configuration Without RealPortConfiguration Notes IllustrationTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Dial-In PPP Connection Using Radius Dial-In PPP Connection Using Radius PortServer TS 8/16 Troubleshooting Introduction Symptom PortServer TS 8/16 Does Not BootAssumptions Symptom Cannot Telnet to the PortServer TS 8/16Running PortServer TS 8/16 Hardware Diagnostics Symptom Trouble Accessing a PortProcedure Running the Post Using the LEDs Procedure Running the Post from a TerminalRunning PortServer TS 8/16 Post Verifying Tftp on a Unix System Troubleshooting Tftp ProblemsResetting PortServer TS 8/16 Configuration to Defaults Command Line ProcedureFront Panel Procedure Verifying the PortServer TS 8/16 IP Address 17-9 Checking for Duplicate IP Addresses Pinging an IP Address Verifying the Network Cabling AIX Verifying the RealPort Process Verifying the RealPort ProcessHP-UX Verifying the RealPort Process Linux Verifying the RealPort ProcessWindows NT Verifying the RealPort Service Windows 2000 Verifying the RealPort ServiceSolaris Verifying the RealPort Process RealPort Checking and Changing Port ConfigurationDigi International Bren Road East Minnetonka, MN Digi Contact Information