btobin0 has asked for the wisdom of the Perl Monks concerning the following question:
I am getting to the password and it is failing at the password. The user name and password are correct. What else could be wrong?use strict; use Net::SSH::Perl qw(ssh); my $commection '192.168.1.1'; my $username = 'bob'; my $password = 'password'; print "Starting SSH Services..."; my $ssh = Net::SSH:Perl->New("$Connection"); print "Done\n"; print "Logging in..." $ssh->login("$username", "$password"); print "Done\n"; my $command
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SSH Woes
by syphilis (Archbishop) on Feb 23, 2008 at 10:20 UTC | |
|
Re: Net::SSH Woes
by proceng (Scribe) on Feb 23, 2008 at 14:16 UTC | |
|
Re: Net::SSH Woes
by Corion (Patriarch) on Feb 23, 2008 at 09:37 UTC | |
|
Re: Net::SSH Woes
by Khen1950fx (Canon) on Feb 24, 2008 at 02:33 UTC | |
by btobin0 (Acolyte) on Feb 26, 2008 at 12:07 UTC | |
by Khen1950fx (Canon) on Feb 27, 2008 at 21:01 UTC | |
by btobin0 (Acolyte) on Feb 26, 2008 at 10:04 UTC |