Cynthia_18735
Mar 07, 2008Nimbostratus
SSH no longer works with Perl script after upgrading BigIP's to newer hardware/software
I have an iControl script, that I also do connection to using SSH. I can logon via Putty using SSH to the LTM; however, using the following code results in a permission denied error. This same script worked on BigIP Models 1000 & 2400 running Version 9.1.2. However, we have recently replaced these with 6400's running 9.3.0 and the scripts no longer worked.
Anyone have any idea on what has changed and what needs to be updated to make this work?
use Net::SSH::W32Perl;
Open SSH connection to host
print "Logging into '$host' via SSH\n";
$ssh = Net::SSH::W32Perl->new($host);
$ssh->login('userid', 'password') or die("Could not log in - $!");
exit 0;