Re: TS server Configuration-Sessions

From: Nick Garner (nwgarner@gmail.com)
Date: Wed Dec 06 2006 - 17:56:02 ART


Try this as your menu instead:

menu TT text 1 "R1"
menu TT command 1 resume R1 /connect telnet R1
menu TT text 3 "R2"
menu TT command 3 resume R2 /connect telnet R2

That should allow you to resume connections that you already have open.

Nick

On 12/6/06, Koen Peetermans <k.peetermans@chello.be> wrote:
> Try something like this (see option R)
>
> menu termserv text 0 Exit
> menu termserv command 0 menu-exit
> menu termserv text L Logout
> menu termserv command L exit
> menu termserv text S Show Lines
> menu termserv command S show line
> menu termserv options S pause
> menu termserv text R Resume current Reverse Telnet session
> menu termserv command R resume
> menu termserv text D Disconnect current Reverse Telnet Session
> menu termserv command D disconnect
>
> HTH,
>
> Koen.
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> imran
> Sent: woensdag 6 december 2006 16:05
> To: 'imran'; cisco@groupstudy.com; 'Cisco certification';
> security@groupstudy.com
> Subject: RE: TS server Configuration-Sessions
>
> Hello,
>
>
>
> I have terminal server with which my several devices are connected. For
> particulars users, I want to allow them to access some devices, not all and
> they should not able to change any configuration on Terminal Server.
>
>
>
> I am trying to do it with "Menu command" but not successful. (Problem : I
> cannot resume the session)
>
>
>
> TerminalServer#sh run
>
> Building configuration...
>
>
>
> Current configuration : 1417 bytes
>
> !
>
> version 12.3
>
> service timestamps debug datetime msec
>
> service timestamps log datetime msec
>
> service password-encryption
>
> !
>
> username cisco privilege 3 password 7 01100F175804
>
> username cisco autocommand menu TT
>
>
>
> ip host R2 2038 172.16.0.1
>
> ip host R1 2037 172.16.0.1
>
> ip host SW1 2042 172.16.0.1
>
>
>
> menu TT text 1 "R1"
>
> menu TT command 1 telnet 172.16.0.1 2037
>
> menu TT text 3 "R2"
>
> menu TT command 3 telnet 172.16.0.1 2038
>
>
>
> When I telnet with user cisco, I get the below
>
>
>
> "
>
> User Access Verification
>
>
>
> Username: cisco
>
> Password:
>
>
>
> 1 "R1"
>
>
>
> 3 "R2"
>
>
>
> I pressed 3 and I can access R2.
>
>
>
> Trying 172.16.0.1, 2038 ... Open
>
>
>
> R2>
>
> R2>
>
> R2>
>
>
>
> 1 "R1"
>
>
>
> 3 "R2"
>
>
>
> Ctl+Shift+6 & x
>
>
>
> Menu for user# 3 (enter)
>
> While resuming the session I am getting below error.
>
> Trying 172.16.0.1, 2038 ...
>
> % Connection refused by remote host
>
>
>
>
>
> 1 "R1"
>
>
>
> 3 "R2"
>
> "
>
>
>
> Highly appreciate any solutions from you guys
>
>
>
> Thanks,
>
>
>
> IAShraf
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: 5/12/2006
> 16:07
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: 5/12/2006
> 16:07



This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:37 ART