Perhaps Fexpect will do what you want Jasper
On 02/11/2012, lirudy <[email protected]> wrote: > Thanks your reply, > This feature is not only ssh tunnel, but also console's Interaction. > My task is froozen by ssh's question. > So it is like Expect in linux shell. > > > > > lirudy > > From: Herman Schistad > Date: 2012-11-02 16:55 > To: lirudy > CC: fab-user > Subject: Re: [Fab-user] Add New Feature: expect object > On Fri, Nov 2, 2012 at 9:37 AM, lirudy <[email protected]> wrote: >> I'm add new feature to Fabric: >> I need deal this task: from client connect to cent os linux , and from >> the >> linux connect to another linux : > > This is called SSH tunnelling and if you google "fabric ssh > tunnelling" you'll get a lot of results. > Particulary this bug are prominent: > https://github.com/fabric/fabric/issues/38 > > As you'll see, there is a monkeypatch you can apply and if you read > the roadmap for version 1.5: > http://fabric.readthedocs.org/en/latest/roadmap.html > > «Fabric 1.5: SSH tunnelling, remote timeouts, improved SSH key debug > info, sudo improvements, and a bit more. See the milestone issues page > for what remains to be done.» > > So, voilá, there you have it. If there is really a problem, do the > monkeypatch, if you can wait couple of weeks, do it. > If you do the google search above, you will also find alternative > solutions using ProxyCommand to the ssh command or other ways of > tunnelling. > > Good luck. > > -- > Sincerly, Herman Schistad > ツ -- Jasper van den Bosch ilogue.com/jasper I'd love to see your attachment, but please use OpenDocument, not a proprietary format like docx. It's an international standard, endorsed by the EU, and implemented in many office suites, such as LibreOffice, and commercial products from Oracle, Sun, IBM and Microsoft (from 2007). _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
