|
From: | Naim Shahidan |
Subject: | Re: [Fab-user] create ssh session inside remote server using Fabric |
Date: | Wed, 17 Jul 2013 22:42:29 +0800 |
This might be what you're looking for http://docs.fabfile.org/en/1.6/api/core/operations.html#fabric.operations.open_shellThough I feel that if you're using Fabric to create an interactive ssh session from one server to another it might be worth reconsidering what you're trying to accomplish and the solution to that. Obviously I don't know what you're trying to do, but I feel that from the information I have it's a bit "iffy".On Jul 17, 2013, at 10:01 AM, Naim Shahidan <address@hidden> wrote:Naim S.regards,Hi Marshel,Im thinking of using authorized_keys on this solution but is it possible to do it on interactive session?On Wed, Jul 17, 2013 at 9:55 PM, Marshel Helsper <address@hidden> wrote:
I imagine you would be able to use ssh through fabric from one server to the next, assuming you don't need an interactive session and the user for server A is in the authorized_keys for server B.
On Jul 17, 2013, at 3:10 AM, Naim Shahidan <address@hidden> wrote:_______________________________________________Shahidanregards,Hi,ive been using Fabric 1.6.1 and im wondering if possible to create ssh session inside a remote server using Fabric. The flows goes like this:
1.) ssh to server A
2.) inside server A, ssh to server B3.) close both connectionYour help much appreciated
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user
[Prev in Thread] | Current Thread | [Next in Thread] |