Tn wrote:
> Hi,
>
> As far as I can tell you are doing it right according to the manpages.
> However, I noticed that in
> http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
> t::SSH::Perl.3pm that $ssh->login() requires a password that you aren't
> supplying:
>
> $ssh->logi
Wiggins D'Anconia wrote:
>> my %params = {
>> protocol => 2,
>> interactive => 1,
>> identity_files =>[EMAIL PROTECTED],
>> };
>
> Right here you are assigning a hash reference to a hash, which is
> essentially setting a key using the reference location with a value as
> undef. Then y
Tn wrote:
> Hi,
>
> As far as I can tell you are doing it right according to the manpages.
> However, I noticed that in
> http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
> t::SSH::Perl.3pm that $ssh->login() requires a password that you aren't
> supplying:
>
> $ssh->logi
Wiggins D'Anconia wrote:
>> my %params = {
>> protocol => 2,
>> interactive => 1,
>> identity_files => [EMAIL PROTECTED],
>> };
>
> Right here you are assigning a hash reference to a hash, which is
> essentially setting a key using the reference location with a value as
> undef. Then
TN wrote:
> Hi,
>
> As far as I can tell you are doing it right according to the manpages.
> However, I noticed that in
> http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
> t::SSH::Perl.3pm that $ssh->login() requires a password that you aren't
> supplying:
>
> $ssh->login(
Haim Ashkenazi wrote:
> Hi
>
> I'm trying to write a simple ssh login script using Net::SSH::Perl. with
> regular password It's working without a problem, but when I try to use dsa
> key (my usual dsa key) it doesn't work.
>
> here's the scritp:
>
>
That clears things up. Thanks for the detailed explanation!
-tristram
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
TN wrote:
Help me to understand your explanation of "assigning a hash reference to
a hash."
Considering
my %params = {
protocol => 2,
interactive => 1,
identity_files => [EMAIL PROTECTED],
};
It appears to have an even number of elements like a hash should (since
"=>" works essentiall
Help me to understand your explanation of "assigning a hash reference to
a hash."
Considering
my %params = {
protocol => 2,
interactive => 1,
identity_files => [EMAIL PROTECTED],
};
It appears to have an even number of elements like a hash should (since
"=>" works essentially like "
Just for clarification and the archives
TN wrote:
Hi,
As far as I can tell you are doing it right according to the manpages.
However, I noticed that in
http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
t::SSH::Perl.3pm that $ssh->login() requires a password that you are
Haim Ashkenazi wrote:
Hi
I'm trying to write a simple ssh login script using Net::SSH::Perl. with
regular password It's working without a problem, but when I try to use dsa
key (my usual dsa key) it doesn't work.
here's the scritp:
#!/usr/bin/
Hi,
As far as I can tell you are doing it right according to the manpages.
However, I noticed that in
http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3/Ne
t::SSH::Perl.3pm that $ssh->login() requires a password that you aren't
supplying:
$ssh->login("user1", "pass1");
I belie
Hi
I'm trying to write a simple ssh login script using Net::SSH::Perl. with
regular password It's working without a problem, but when I try to use dsa
key (my usual dsa key) it doesn't work.
here's the scritp:
#!/usr/bin/perl -w
use strict;
13 matches
Mail list logo