Re: net::openssh error in CGI: Invalid or bad combination of options ('key_path')

2012-06-28 Thread Rajeev Prasad
so finally I settle down for uid password authentication. plus i built the .ssh directory under /var/www (home folder for www-data). and use it as ctl_dir, i get no error message and it works. I am worried about below: 1. uid/pwd is not safe for scripts, so how can i use key based authenticatio

Re: net::openssh error in CGI: Invalid or bad combination of options ('key_path')

2012-06-28 Thread Rajeev Prasad
- Original Message - From: Shlomi Fish To: Rajeev Prasad Cc: perl list Sent: Thursday, June 28, 2012 12:46 PM Subject: Re: net::openssh error in CGI: Invalid or bad combination of options ('key_path') Hi Rajeev, On Thu, 28 Jun 2012 10:00:08 -0700 (PDT) Rajeev Prasad wrote: > hell

Re: net::openssh error in CGI: Invalid or bad combination of options ('key_path')

2012-06-28 Thread Shlomi Fish
Hi Rajeev, On Thu, 28 Jun 2012 10:00:08 -0700 (PDT) Rajeev Prasad wrote: > hello can anyone help? > > following is failing: > > my $ssh = Net::OpenSSH->new($host, >         user => "abc123", >         ctl_dir => "/home/openssh_lib_home", >         key_path => "/home/openssh_lib_home/.ssh/", >

net::openssh error in CGI: Invalid or bad combination of options ('key_path')

2012-06-28 Thread Rajeev Prasad
hello can anyone help? following is failing: my $ssh = Net::OpenSSH->new($host,         user => "abc123",         ctl_dir => "/home/openssh_lib_home",         key_path => "/home/openssh_lib_home/.ssh/",         master_opts => [-o => 'StrictHostKeyChecking=no',                         -o => 'Conne

Re: how to transform xyz into matrix

2012-06-28 Thread lina
On Thu, Jun 28, 2012 at 4:44 PM, John W. Krahn wrote: > lina wrote: >> >> Hi, > > > Hello, > > >> I have some data like: >> >> 0.35 3.41 1 >> 0.35 4.24 1 >> 0.35 4.35 2 >> 0.36 0.36 1 >> 0.36 1.32 1 >> 0.36 1.45 1 >> 0.36 1.46 1 >> >> >> wish the output look like >> >>        0.36 1.32 1.45 1.46  

Re: how to transform xyz into matrix

2012-06-28 Thread John W. Krahn
lina wrote: Hi, Hello, I have some data like: 0.35 3.41 1 0.35 4.24 1 0.35 4.35 2 0.36 0.36 1 0.36 1.32 1 0.36 1.45 1 0.36 1.46 1 wish the output look like 0.36 1.32 1.45 1.46 3.41 4.24 4.35 0.35 0 0 0 0 11 2 0.36 1 1 1 1 0

Re: how to transform xyz into matrix

2012-06-28 Thread lina
On Thu, Jun 28, 2012 at 3:41 PM, lina wrote: > Hi, > > I have some data like: > > 0.35 3.41 1 > 0.35 4.24 1 > 0.35 4.35 2 > 0.36 0.36 1 > 0.36 1.32 1 > 0.36 1.45 1 > 0.36 1.46 1 > > > wish the output look like > >       0.36 1.32 1.45 1.46  3.41 4.24 4.35 > 0.35  0      0       0     0       1    

how to transform xyz into matrix

2012-06-28 Thread lina
Hi, I have some data like: 0.35 3.41 1 0.35 4.24 1 0.35 4.35 2 0.36 0.36 1 0.36 1.32 1 0.36 1.45 1 0.36 1.46 1 wish the output look like 0.36 1.32 1.45 1.46 3.41 4.24 4.35 0.35 0 0 0 0 11 2 0.36 1 1 1 1 00 0 Thanks ahead fo