cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1287
Views
0
Helpful
1
Replies

scripts, cisco and ssh

j-polacheck
Level 1
Level 1

I have several PERL scripts that use Net::Telnet::Cisco, but security concerns dictate that we use only ssh on our newer systems. As I am mostly using ActiveState PERL for Win32, I tried the Win32 version of Net::SSH. But this is unreliable on Cisco systems.

I have had more success wrapping scripts around the Putty plink.exe for ssh cli. The one thing I can't seem to do is get to privileged mode. I had once used Expect, but I am more comfortable with PERL that TCL. I have not yet found a scriptable way to respond to the enable password prompt.

Any suggestions?

1 Reply 1

sbilgi
Level 5
Level 5

the command scripts are not running or cannot be found, it usually means that the ISC environment has not been sourced.

For the C-shell: source $ISC_HOME/bin/vpnenv.csh

For the K-shell and Bourne-shell: . $ISC_HOME/bin/vpnenv.sh

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: