1. it uses plumbum for ssh. plumbum accepts both password (requires sshpass) and keyfile (which is obviously preferred for safety) 2. reboots are not handled by rpyc or plumbum. the server will die and will have to be redeployed. note that it might also leave some files in the temp dir (where rpyc is copied to), unless that temp dir is not backed by disk.
-tomer ----------------------------------------------------------------- *Tomer Filiba* tomerfiliba.com <http://www.facebook.com/tomerfiliba> <http://il.linkedin.com/in/tomerfiliba> On Thu, Dec 11, 2014 at 4:37 PM, M S Vishwanath Bhat <[email protected]> wrote: > Thanks Tomer. > > I wanted to use zero-deploy because of ease of setting up system. My main > use of rpyc (and zero-deploy) is for test automation. I still want to use > zero-deploy with some work-around of my own. Hence few questions. > > 1. How is authentication managed? Should we pass username/password to any > API? Is passwordless ssh expected? > 2. When a connection is made to a server and server reboots, client needs > to establish fresh connection right? It doesn't automatically connect to > server. > > Thanks again in advance > > Best Regards, > MS > > On Thursday, 11 December 2014 19:36:26 UTC+5:30, Tomer Filiba wrote: >> >> zero deploy has several requirements (which i don't remember now) that >> practically mean it only works for classic mode. >> theoretically you can work around them but i haven't tried to. >> >> anyway, zero deploy doesn't really makes sense with a custom service, >> since custom services are usually "well known", >> e.g., your clients know that machines1 is your database. zero deploy is >> mostly for debugging/testing purposes, where you may not want an rpyc >> daemon running all the time. >> >> -tomer >> >> ----------------------------------------------------------------- >> >> *Tomer Filiba* >> tomerfiliba.com <http://www.facebook.com/tomerfiliba> >> <http://il.linkedin.com/in/tomerfiliba> >> >> On Thu, Dec 11, 2014 at 4:03 PM, M S Vishwanath Bhat <[email protected]> >> wrote: >> >>> Hi, >>> >>> Can we have our own custom service with the zero deploy? If yes, how? >>> Google didn't show any satisfactory answers. >>> >>> Thanks in advance >>> >>> Best Regards, >>> Vishwanath >>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "rpyc" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "rpyc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "rpyc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
