I should have been a little more descriptive.

The problem occurs when the boxes are loaded. They tend to hang when puts
are attempted.




On 1/8/07, Mike Bailey <[EMAIL PROTECTED]> wrote:
>
>
> I tested using 'put' on one of my CentOS boxes (centos 4) and it
> worked fine.
> I have included the task I used and the command I used below.
> Perhaps you should work out why the sftp is failing?
>
> cheers,
>
> Mike
>
> # task in ~/.caprc
> task :push_to_centos do
>   put 'foo bar', '/home/mbailey/example.txt', :mode => 0644
> end
>
> > export HOSTS=10.11.12.13
> > cap push_to_centos
>
> On 09/01/2007, at 2:24 PM, [EMAIL PROTECTED] wrote:
>
> >
> >
> > I have a bunch of machines running CentOS.
> >
> > For some reason, the ssh has a problem when a pseudo-tty /pty isn't
> > allocated.
> > So, when I use the 'put', and it uses sftp, it just times out. After
> > trying to figure this out,
> > I decided to turn SFTP off. Now the 'poor mans put' is failing with a
> > system error. The files
> > end up being zero length.
> > I'm running 1.0.10 of net-ssh and 1.1.0 of sftp. All shell commands
> > operate perfectly.
> >
> > Any tips on a better way to move files from the deploying host out to
> > the machines?
> >
> >
> > >
>
>
> >
>


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to