Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33061 > unrolled thread

fabric question

Started byJabba Laci <jabba.laci@gmail.com>
First post2012-11-09 23:25 +0100
Last post2012-11-09 14:49 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  fabric question Jabba Laci <jabba.laci@gmail.com> - 2012-11-09 23:25 +0100
    Re: fabric question Miki Tebeka <miki.tebeka@gmail.com> - 2012-11-09 14:49 -0800
    Re: fabric question Miki Tebeka <miki.tebeka@gmail.com> - 2012-11-09 14:49 -0800

#33061 — fabric question

FromJabba Laci <jabba.laci@gmail.com>
Date2012-11-09 23:25 +0100
Subjectfabric question
Message-ID<mailman.3523.1352499959.27098.python-list@python.org>
Hi,

I'm trying to use fabric to run a command on another Linux machine.
When I call "fab remote_info" (using the example from its
documentation), this is what I get:

local$ fab remote_info
[remote] Executing task 'remote_info'
[remote] run: uname -a
[remote] out: remote@path$

That is, it logs in successfully, but I get no output and I get a
prompt on the remote machine, i.e. it doesn't log out automatically
after calling the remote command. I also tried to specify the absolute
path of uname, same result. Any idea?

Thanks,

Laszlo

[toc] | [next] | [standalone]


#33063

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2012-11-09 14:49 -0800
Message-ID<3c5afb03-c3bf-44e5-ae5e-a157c11b755a@googlegroups.com>
In reply to#33061
> local$ fab remote_info
> [remote] Executing task 'remote_info'
> [remote] run: uname -a
> [remote] out: remote@path$

What happens when you ssh to the machine and run 'uname -a'?
(The out: ... is the output)

[toc] | [prev] | [next] | [standalone]


#33064

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2012-11-09 14:49 -0800
Message-ID<mailman.3525.1352501370.27098.python-list@python.org>
In reply to#33061
> local$ fab remote_info
> [remote] Executing task 'remote_info'
> [remote] run: uname -a
> [remote] out: remote@path$

What happens when you ssh to the machine and run 'uname -a'?
(The out: ... is the output)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web