[Boston.pm] Login error with SFTP

2008-07-30 Thread Alex Brelsfoard
I wrote up some code to perform SFTP file downloads for my company. It is now working for all but one of our clients that have chosen to use this method. But I need to get it working for ALL of them. For the life of me I cannot figure out why it's not working for this one machine. Here's the info:

Re: [Boston.pm] Login error with SFTP

2008-07-30 Thread Tom Metro
Alex Brelsfoard wrote: "Cannot connect to SFTP Server. Permission denied at /usr/lib/perl5/site_perl/5.8.5/Net/SFTP.pm line 62" Line 62 correlates with the login function in SFTP.pm: $ssh->login($param{user}, $param{password}, 'supress_shell'); I'd look at the source for the $ssh objec

Re: [Boston.pm] Login error with SFTP

2008-07-30 Thread Kenneth Graves
On Jul 30, 2008, at 11:19 AM, Alex Brelsfoard wrote: I wrote up some code to perform SFTP file downloads for my company. I found Net::SCP::Expect easier to work with. Could just be a matter of taste rather than one being more reliable that the other. --kag ___

Re: [Boston.pm] Login error with SFTP

2008-07-30 Thread Alex Brelsfoard
Though I have tried turning on the debug mode, I have not gotten any different results (though I'm not so sure how to USE the debug mode really). SSH1.pm & SSH2.pm each have the following line: SSH1.pm:$ssh->fatal_disconnect("Permission denied"); SSH2.pm:$ssh->_login or $ssh->fatal_disconn

[Boston.pm] Net::Server::PreFork - How to make dynamic config changes without bouncing a server

2008-07-30 Thread Ranga Nathan
I am using Net::Server::PreFork for a server that has a configuration file. I want to be able to send a message to the server to update the configuration as well as have it take effect. I dont want the server bounced for the configuration changes to take effect. The server starts with five chi

[Boston.pm] Perl 6 and Parrot Essentials still worth reading?

2008-07-30 Thread Mike Small
Hi, Would you say it would still be worthwhile to read Perl 6 and Parrot Essentials in its published, paper form? I see that there's a lot of other more up to date material listed here http://www.perlfoundation.org/perl6/index.cgi#first_look_shortcuts but I'd like a book for when my hands or e

Re: [Boston.pm] Net::Server::PreFork - How to make dynamic config changes without bouncing a server

2008-07-30 Thread Ben Tilly
On Wed, Jul 30, 2008 at 11:42 AM, Ranga Nathan <[EMAIL PROTECTED]> wrote: > Before I go ahead and do something screwy, I thought to ask the public what > they do in this case. I realize that one of the children would get the > message indicating the changes. If it updates the data structure in memo

Re: [Boston.pm] Net::Server::PreFork - How to make dynamic config changes without bouncing a server

2008-07-30 Thread Tom Metro
Ben Tilly wrote: But you'll probably want a plain text file to be written out somewhere in the background to preserve data across server restarts. I think the OP is referring to a typical scenario where you update a configuration file, and then send a signal to the process to provoke a re-rea

Re: [Boston.pm] Login error with SFTP

2008-07-30 Thread Tom Metro
Alex Brelsfoard wrote: Though I have tried turning on the debug mode, I have not gotten any different results (though I'm not so sure how to USE the debug mode really). Are you saying nothing is written to STDOUT or STDERR? SSH1.pm & SSH2.pm each have the following line: SSH1.pm:$ssh->fa

Re: [Boston.pm] Net::Server::PreFork - How to make dynamic config changes without bouncing a server

2008-07-30 Thread Ben Tilly
On Wed, Jul 30, 2008 at 3:33 PM, Tom Metro <[EMAIL PROTECTED]> wrote: > Ben Tilly wrote: >> >> But you'll probably want a plain text file to be written out somewhere >> in the background to preserve data across server restarts. > > I think the OP is referring to a typical scenario where you update

[Boston.pm] Perl 6 and Parrot Essentials still worth reading?

2008-07-30 Thread Bob Rogers
From: Mike Small <[EMAIL PROTECTED]> Date: Wed, 30 Jul 2008 14:48:27 -0400 Hi, Would you say it would still be worthwhile to read Perl 6 and Parrot Essentials in its published, paper form? I see that there's a lot of other more up to date material listed here ... but I'd like

Re: [Boston.pm] Login error with SFTP

2008-07-30 Thread Bill Ricker
> Are you not sure which SSH protocol version is being used? You should be absolutely certain whether requesting SSH v 1 (do not use, obsolete, insecure, demonstrably breakable) or SSH v 2, **and** which the counterparty is supporting. Commandline SSH with -v will report all that. > Try collecti