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...
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...
I am trying to use a Perl Script to log in to a Netscreen Firewall. Since the Firewall requires interactive mode only, I need to use an Expect script or Net::SSH:Expect I think. I have no idea how to feed the expect script information into the perl script. Have looked on alot of sites that...
Greetings all,
I have a Perl script that worked a couple weeks ago. I have a web form that calls the script and it is suppose to open a file and then input some text, close the file and then email the file. If I run it from my browser it creates the files but they are empty. If I run it...
Greetings all, I have a Gateway desktop that I am trying to format and put Linux on but I don't know how to get rid of the Gateway go back that appears when the computer is booted up. Any suggestions. Machine is a Gateway Select. I got Linux to load, but when I restarted the computer it came...
Greetings all,
I found most of my solution here already for using Spreadsheet::ParseExcel and with the code I got here, I can get the script to parse out each cells information and print it for me. What I am trying to do is have the user input two values and as it goes down each row, it will...
Good day all,
I am fairly new to Perl (but learning quickly). I am sure my initial code is clunky and I will take suggestions for improvement on that but for this issue I am trying to create a script that will look at a file with a few thousand lines and it will pass only certain lines to an...
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.