cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1734
Views
5
Helpful
6
Replies

How to SSH or Telnet to LMS 4 Server?

Brian Whiting
Level 1
Level 1

                   We have a soft appliance we installed a long time ago.  I have forgotten how to access a linux terminal screen on the server.  

1.  How can you access the linux command line?

2.  Can it be done directly via an SSH or Telnet client?

3.  Does anyone know what distribution the appliance is based on so we could potentially add Samba or other linux tools?

Thanks!

1 Accepted Solution

Accepted Solutions

No, not from the LMS web UI.

But if you're coming in from the VMware vSphere console to the LMS VM, then that would allow console/shell access.

There's a web version of the VMware vSphere UI - maybe that's what you meant?  See below

View solution in original post

6 Replies 6

Jason Davis
Cisco Employee
Cisco Employee

Hi Brian!

1) Simple SSH is supported.  It puts you into an administrative mode that lets you do basic config and status checks.  There's a separate 'shell' mode to do operating system level work

2) Yes, any SSH client.  I use ZoC on a MacBook Pro. 

Telnet is not supported.

3) RedHat - adding other components is generally not supported.

# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.4 (Tikanga)

Thanks!   Is there a way to get to the shell mode from the web page?

No, not from the LMS web UI.

But if you're coming in from the VMware vSphere console to the LMS VM, then that would allow console/shell access.

There's a web version of the VMware vSphere UI - maybe that's what you meant?  See below

Thanks Jason.  I did manage to SSH in.   I'm trying to figoure out how to get exported IOS images out of the server in a way easy for Windows users to manage, but I'll do that in another discussion.

Is it possible to SSH into the server to update DCR passwords?

Yes, drop to the shell and use the dcrcli tool.

Here's a starter on how to get there:

SecLab-LMS/admin# shell

Enter shell password :

Starting shell...

[SecLab-LMS/root-ade ~]# dcrcli -u admin

*DCRCLIFILE Environment variable not set.

Enter your password

Commands : add|del|mod|impFile|impNms|impRNms|impAcs|exp|expAcs|lsids|detail|lsattr|lscsets|setmaster|setstand|setslave|lsmode|exit 

For more information, type: -help

dcrcli> add -help

Description : To add a device and its credentials to dcr.

Usage : add [-useDefault=value | Policy Configuration]{ip=value | hn=value | di=value} dn=value -a sysObjectID=value,attname=value...

-useDefault     -  Applies the default credentials specified in a Credential Set

                   or Credential Set policies to a device.

                   Run the lscsets command to see the list of Credential Sets.

ip              -  IP Address.

hn              -  Host Name.

di              -  Device Identity.

dn              -  Display Name.

attname         -  Attribute name of the device. You can enter multiple

                   attributes by separating them using commas.

                   Use lsattr command to see the list of valid dcr attributes.

dcrcli>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: