fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Fab-user] RE: A few questions about fabric


From: Yungwei Chen
Subject: RE: [Fab-user] RE: A few questions about fabric
Date: Thu, 23 Sep 2010 17:35:05 -0400

Is setting up automatic login for each ssh-connected machine required?  
User 'root' is usually not allowed to log into another machine using ssh. In 
this case, what do people usually do to run fab files?
Thanks again.

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Jeff Forcier
Sent: Thursday, September 23, 2010 3:43 PM
To: Yungwei Chen
Cc: address@hidden
Subject: Re: [Fab-user] RE: A few questions about fabric

On Thu, Sep 23, 2010 at 4:35 PM, Yungwei Chen <address@hidden> wrote:
> Another question: do I need to install fabric on each machine?

Fabric is simply an SSH wrapper, so it requires absolutely nothing on
the *server* end save for SSH itself. (Contrast this to tools like
execnet which *do* require Python on the server end.) You can install
Fabric on a single workstation and write/run Fab scripts targeting any
number of servers; that's the common use case at any rate.

If I've misunderstood your question, let me know.

-Jeff

> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Yungwei Chen
> Sent: Wednesday, September 22, 2010 10:33 AM
> To: address@hidden
> Subject: [Fab-user] A few questions about fabric
>
> Hi,
>
> I have a few questions about fabric. Thanks.
>
> 1. When loading a sql dump into a mysql server on a remote machine using 
> fabric, will I be prompted to enter a password on my local console? If not, 
> how do you usually deal with this situation?
>
> 2. If multiple remote machines are involved in a given task, do I have to 
> divide a big fabric script into multiple parts and then run them separately 
> on different remote machines? Or maybe I don't have to so long as required 
> ssh connections are established properly?
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby developer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]