RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-29 Thread Haim Ashkenazi
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread R. Joseph Newton
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(

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread R. Joseph Newton
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: > >

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread TN
That clears things up. Thanks for the detailed explanation! -tristram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Wiggins d'Anconia
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

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread TN
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 "

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Wiggins d'Anconia
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

Re: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Wiggins d'Anconia
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/

RE: problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread TN
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

problem with Net::SSH::Perl using dsa key authentication

2003-09-28 Thread Haim Ashkenazi
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;