Greetings all,
I found a script that works to SSH Version 2 into my Cisco Routers but the problem I am having with it is that it oftentimes gives a timed out error and I am not sure how to avoid that, so was hoping someone might have a solution
#!/usr/bin/perl
use Net::SSH::Expect;
my $ssh...
Greetings all,
I have almost got this working but I am missing something very simple I am sure. I had never used subs in my perl scripts so this is new to me. Any assistance would be much appreciated.
When I run my script here is the error I get:
login failed...
Greetings all,
I am trying to convert my apache server so that it will all https connections. I have done a bunch of google searches to find out if I can make it SSL capable without resinstalling it. I am running:
Server version: Apache/2.0.46
Server built: Sep 1 2005 09:10:34
I do have...
Greetings all,
Still in pursuit of a good login for my non interactive devices. I started reading about Net::SSH::Expect and I think my problem might be how it talks to SSH as I get output from the script, but I am not getting all of the output and I am not sure why.
this is the output I get...
I have an html page that sends some variables to a perl script "script.cgi" and I am wanting to call an expect script from within the script.cgi and get the results of the expect script returned back into the script.cgi and allow it to continue processing. I have a few scripts that redirect to...
Greetings all,
First and foremost, I am sorry for the long post, but I am stumped. I previously had a post about using Net::Telnet and Travs69 was a big help in getting me focused in on the problem and getting the script running. I guess what I am looking for is more assistance or a better...
Travs69,
Thanks alot for all your help. I got the dump files working and as soon as I did that, I figured out where the glitch was and got the script working. Thanks for all your help.
Wally
hitting enter is not working either. Kinda weird, I know I am missing something really basic.
I will try to use the dump files and see what I get. Any clues on the syntax for outputting the output log and input log? The examples don't show it being used. I hvae tried outputting to an array...
I tried it with single quotes and got the same thing.
My username contains an underscore _ but I have tried that with both a \_ and regular _
I know I am missing something simple, just not sure what it is.
TIA
Wally
Greetings all,
I am trying to use interactive login and have been using the Net::Telnet command as that is the route I was pointed to by a friend. I am using the script from CPAN for the ssh example. I keep getting a
"problem connecting to host: Permission denied (password)"
which is the...
Kevin,
Thanks for the tips. I had already fixed the uppercase E but didn't change the ' '
I notice you show only the username as being in the wrong quotes, and then I looked at the other inputs and one has "$firewall" is in double quotes and 'password' is in single quotes. because they are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.