| Posted on 2009-05-01 14:32:50-07 by tvd in response to 6891 |
| Re: Net-Appliance-Session 0.15 How do I handle session authentication |
|
Oliver, your solution has been working fine using Net-Appliance-Session-0.15 ---- Until I upgraded to Net-Appliance-Session-1.36.
I also installed:
Net-SSH-Perl-1.34
Net-Appliance-Phrasebook-1.8
Net-Appliance-Session-1.36
Net-Telnet-3.03
With this combination I am OK until I try to do the
password entry on line 18 of your post.
Here is an example:
--------------------------------------------
| WARNING: UNAUTHORIZED USE OR TAMPERING |
| IS A VIOLATION OF POLICY AND A CRIMINAL |
| OFFENSE. VIOLATORS ARE SUBJECT TO |
| DISMISSAL AND/OR PROSECUTION. |
| |
| - Enterprise TACACS+ Account Required - |
--------------------------------------------
yyyy@nn.nnn.nnn.nnn's password: xxxxxx
router-r2#terminal length 0
terminal length 0
router-r2#session slot 6 proc 1
session slot 6 proc 1
The default escape character is Ctrl-^, then x.
You can also type 'exit' at the remote prompt to end the session
Trying 127.0.0.61 ... Open
************************* NOTICE *************************
This system is intended to be used solely by authorized
users in the course of legitimate corporate business.
Users are monitored to the extent necessary to properly
administer the system, to identify unauthorized users
or users operating beyond their proper authority, and to
investigate improper access or use. By accessing this
system, you are consenting to this monitoring.
************************* NOTICE *************************
User Access Verification
Password: pppppp
<--------------- Notice the extra LF here
Password: Timeout, EOF or other failure waiting for command response
-----------------------------------------------------------------------
Under the old version:
--------------------------------------------
| WARNING: UNAUTHORIZED USE OR TAMPERING |
| IS A VIOLATION OF POLICY AND A CRIMINAL |
| OFFENSE. VIOLATORS ARE SUBJECT TO |
| DISMISSAL AND/OR PROSECUTION. |
| |
| - Enterprise TACACS+ Account Required - |
--------------------------------------------
yyyy@nn.nnn.nnn.nnn's password: xxxxxx
terminal length 00rminal length 00
session slot 6 proc 1on slot 6 proc 1
The default escape character is Ctrl-^, then x.
You can also type 'exit' at the remote prompt to end the session
Trying 127.0.0.61 ... Open
************************* NOTICE *************************
This system is intended to be used solely by authorized
users in the course of legitimate corporate business.
Users are monitored to the extent necessary to properly
administer the system, to identify unauthorized users
or users operating beyond their proper authority, and to
investigate improper access or use. By accessing this
system, you are consenting to this monitoring.
************************* NOTICE *************************
User Access Verification
Password: pppppp
Type help or '?' for a list of available commands.
enabledprod4-f/stby> enable
*******d: pppppp
sho resource acl-partitionesource acl-partition
Total number of configured partitions = 2
Partition #0
Mode : exclusive
List of Contexts : data-L2
Number of contexts : 1(RefCount:1)
Number of rules : 42177(Max:61437)
Partition #1
Mode : exclusive
List of Contexts : admin
Number of contexts : 1(RefCount:1)
Number of rules : 33(Max:61437)
router-f/stby# Total number of configured partitions = 2
Partition #0
Mode : exclusive
List of Contexts : data-L2
Number of contexts : 1(RefCount:1)
Number of rules : 42177(Max:61437)
Partition #1
Mode : exclusive
List of Contexts : admin
Number of contexts : 1(RefCount:1)
Number of rules : 33(Max:61437)
quit
Logoff
note that both of these had
$s->input_log(*STDOUT);
$s->output_log(*STDOUT);
to display both input and output.
Could you please have a look at this?
Thanks, Vern
|
| Direct Responses: Write a response |